|
@@ -1,12 +1,12 @@
|
|
#!/usr/bin/env bash
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
-echo "Initial nslookup ${ADMIN_HOST}
|
|
|
|
|
|
+echo "Initial nslookup ${ADMIN_HOST}"
|
|
|
|
+nslookup ${ADMIN_HOST}
|
|
|
|
+while [ $? -ne 0 ]; do
|
|
|
|
+ echo "Waiting for ${ADMIN_HOST} to become available"
|
|
|
|
+ sleep 1
|
|
nslookup ${ADMIN_HOST}
|
|
nslookup ${ADMIN_HOST}
|
|
- while [ $? -ne 0 ]; do
|
|
|
|
- echo "Waiting for ${ADMIN_HOST} to become available"
|
|
|
|
- sleep 1
|
|
|
|
- nslookup ${ADMIN_HOST}.${APPNET}
|
|
|
|
- done
|
|
|
|
|
|
+done
|
|
|
|
|
|
echo "#Dummy" >> /etc/rc.d/init.d/functions
|
|
echo "#Dummy" >> /etc/rc.d/init.d/functions
|
|
source /etc/init.d/web-registry-portal status
|
|
source /etc/init.d/web-registry-portal status
|