summaryrefslogtreecommitdiff
path: root/testing/scripts/xstart-umls
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2008-07-10 12:47:56 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2008-07-10 12:47:56 +0000
commiteb841c5ef668a48782ef1154fda65cb6048f5885 (patch)
tree00dd0cb4313bf2291d94ed511fe51f0b4bc7ea7a /testing/scripts/xstart-umls
parent738206039047924ae7e4762a53d121be1ca43000 (diff)
downloadvyos-strongswan-eb841c5ef668a48782ef1154fda65cb6048f5885.tar.gz
vyos-strongswan-eb841c5ef668a48782ef1154fda65cb6048f5885.zip
- Updated to new upstream.
Diffstat (limited to 'testing/scripts/xstart-umls')
-rwxr-xr-xtesting/scripts/xstart-umls8
1 files changed, 7 insertions, 1 deletions
diff --git a/testing/scripts/xstart-umls b/testing/scripts/xstart-umls
index 8cd76c133..8d2a70c4d 100755
--- a/testing/scripts/xstart-umls
+++ b/testing/scripts/xstart-umls
@@ -14,7 +14,7 @@
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
-# RCSID $Id: xstart-umls 3273 2007-10-08 20:18:34Z andreas $
+# RCSID $Id: xstart-umls 3590 2008-03-13 14:20:20Z martin $
DIR=`dirname $0`
@@ -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"