From: Andreas Steffen Date: Thu, 14 Feb 2008 21:24:54 +0000 (-0000) Subject: disable eth1 interface of UML host alice after booting X-Git-Tag: 4.1.11~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af0de6272d58e0ff76dda671904e5f37b8151bf7;p=thirdparty%2Fstrongswan.git disable eth1 interface of UML host alice after booting --- diff --git a/testing/scripts/kstart-umls b/testing/scripts/kstart-umls index cc6cff34e5..79a905578f 100755 --- a/testing/scripts/kstart-umls +++ b/testing/scripts/kstart-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 $ipv4_alice /etc/init.d/net.eth1 stop + fi done cecho " * All uml instances are up now"