From 41b1cd6b872d9c2a938293a1945cca53459ded27 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Tue, 7 Oct 2008 04:56:50 +0000 Subject: [PATCH] wait 5 seconds before deactivating eth1 interface on alice --- testing/scripts/gstart-umls | 1 + testing/scripts/kstart-umls | 1 + testing/scripts/start-umls | 1 + testing/scripts/xstart-umls | 1 + 4 files changed, 4 insertions(+) diff --git a/testing/scripts/gstart-umls b/testing/scripts/gstart-umls index 0da005c3b..dac31ab67 100755 --- a/testing/scripts/gstart-umls +++ b/testing/scripts/gstart-umls @@ -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 diff --git a/testing/scripts/kstart-umls b/testing/scripts/kstart-umls index 7d53b9a9b..3467c5d60 100755 --- a/testing/scripts/kstart-umls +++ b/testing/scripts/kstart-umls @@ -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 diff --git a/testing/scripts/start-umls b/testing/scripts/start-umls index 018bad010..da6a99c22 100755 --- a/testing/scripts/start-umls +++ b/testing/scripts/start-umls @@ -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 diff --git a/testing/scripts/xstart-umls b/testing/scripts/xstart-umls index 8f9b6f490..72228232a 100755 --- a/testing/scripts/xstart-umls +++ b/testing/scripts/xstart-umls @@ -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