From: Andreas Steffen Date: Fri, 29 Feb 2008 17:00:07 +0000 (-0000) Subject: take down eth1 interface on alice via ssh X-Git-Tag: 4.2.0~151 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37940132a418e35461fff46b70804aa2a0b72233;p=thirdparty%2Fstrongswan.git take down eth1 interface on alice via ssh --- diff --git a/testing/scripts/kstart-umls b/testing/scripts/kstart-umls index 79a905578f..7d53b9a9b0 100755 --- a/testing/scripts/kstart-umls +++ b/testing/scripts/kstart-umls @@ -120,7 +120,7 @@ do if [ "$host" = "alice" ] then eval ipv4_${host}="`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`" - ssh $ipv4_alice /etc/init.d/net.eth1 stop + ssh root@$ipv4_alice /etc/init.d/net.eth1 stop fi done diff --git a/testing/scripts/start-umls b/testing/scripts/start-umls index 143d53b74c..018bad0108 100755 --- a/testing/scripts/start-umls +++ b/testing/scripts/start-umls @@ -107,6 +107,12 @@ do else cgecho "up" fi + + if [ "$host" = "alice" ] + then + 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 done cecho " * All uml instances are up now" diff --git a/testing/scripts/xstart-umls b/testing/scripts/xstart-umls index 86090bc849..8f9b6f4903 100755 --- a/testing/scripts/xstart-umls +++ b/testing/scripts/xstart-umls @@ -116,6 +116,12 @@ do else cgecho "up" fi + + if [ "$host" = "alice" ] + then + 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 done cecho " * All uml instances are up now"