2 # Stop all UML instances and UML switches
4 # Copyright (C) 2004 Eric Marchionni, Patrik Rayo
5 # Zuercher Hochschule Winterthur
7 # This program is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by the
9 # Free Software Foundation; either version 2 of the License, or (at your
10 # option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
12 # This program is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19 source $DIR/scripts/function.sh
21 [ -f $DIR/testing.conf ] || die "No configuration file testing.conf found."
23 source $DIR/testing.conf
27 HOSTS=$STRONGSWANHOSTS
32 #####################################################
33 # Shutting down the uml instances
35 cecho-n " * Halting all UML instances.."
38 uml_mconsole $host halt &> /dev/null
42 #####################################################
43 # Shutting down the uml bridhges
45 cecho "Stop the uml bridges (scripts/stop-bridges)"
46 $DIR/scripts/stop-bridges