wait 5 seconds before deactivating eth1 interface on alice
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 7 Oct 2008 04:56:50 +0000 (04:56 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 7 Oct 2008 04:56:50 +0000 (04:56 -0000)
testing/scripts/gstart-umls
testing/scripts/kstart-umls
testing/scripts/start-umls
testing/scripts/xstart-umls

index 0da005c..dac31ab 100755 (executable)
@@ -119,6 +119,7 @@ do
 
     if [ "$host" = "alice" ]
     then
+       sleep 5
        eval ipv4_${host}="`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
        ssh root@$ipv4_alice /etc/init.d/net.eth1 stop
     fi
index 7d53b9a..3467c5d 100755 (executable)
@@ -119,6 +119,7 @@ do
 
     if [ "$host" = "alice" ]
     then
+       sleep 5
        eval ipv4_${host}="`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
        ssh root@$ipv4_alice /etc/init.d/net.eth1 stop
     fi
index 018bad0..da6a99c 100755 (executable)
@@ -110,6 +110,7 @@ do
 
     if [ "$host" = "alice" ]
     then
+       sleep 5
        eval ipv4_${host}="`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
        ssh root@$ipv4_alice /etc/init.d/net.eth1 stop
     fi
index 8f9b6f4..7222823 100755 (executable)
@@ -119,6 +119,7 @@ do
 
     if [ "$host" = "alice" ]
     then
+       sleep 5
        eval ipv4_${host}="`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
        ssh root@$ipv4_alice /etc/init.d/net.eth1 stop
     fi