summaryrefslogtreecommitdiff
path: root/testing/scripts/start-umls
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2008-07-09 21:02:41 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2008-07-09 21:02:41 +0000
commitdb67c87db3c9089ea8d2e14f617bf3d9e2af261f (patch)
tree665c0caea83d34c11c1517c4c57137bb58cba6fb /testing/scripts/start-umls
parent1c088a8b6237ec67f63c23f97a0f2dc4e99af869 (diff)
downloadvyos-strongswan-db67c87db3c9089ea8d2e14f617bf3d9e2af261f.tar.gz
vyos-strongswan-db67c87db3c9089ea8d2e14f617bf3d9e2af261f.zip
[svn-upgrade] Integrating new upstream version, strongswan (4.2.4)
Diffstat (limited to 'testing/scripts/start-umls')
-rwxr-xr-xtesting/scripts/start-umls8
1 files changed, 7 insertions, 1 deletions
diff --git a/testing/scripts/start-umls b/testing/scripts/start-umls
index 50cd65da4..7490cdf0b 100755
--- a/testing/scripts/start-umls
+++ b/testing/scripts/start-umls
@@ -14,7 +14,7 @@
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
-# RCSID $Id: start-umls 3273 2007-10-08 20:18:34Z andreas $
+# RCSID $Id: start-umls 3590 2008-03-13 14:20:20Z martin $
DIR=`dirname $0`
@@ -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"