aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2008-02-14 21:24:54 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2008-02-14 21:24:54 +0000
commitaf0de6272d58e0ff76dda671904e5f37b8151bf7 (patch)
treea9700dd945921291d870cc94072c5901062fc875 /testing/scripts
parentf750247f5e048f538160d152f208480c8c1a48d5 (diff)
downloadstrongswan-af0de6272d58e0ff76dda671904e5f37b8151bf7.tar.bz2
strongswan-af0de6272d58e0ff76dda671904e5f37b8151bf7.tar.xz
disable eth1 interface of UML host alice after booting
Diffstat (limited to 'testing/scripts')
-rwxr-xr-xtesting/scripts/kstart-umls6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/scripts/kstart-umls b/testing/scripts/kstart-umls
index cc6cff34e..79a905578 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"