testbed.sh 363 Bytes
Newer Older
1 2 3
#!/bin/sh
#
# EMULAB-COPYRIGHT
4
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
5 6
# All rights reserved.
#
7
. /etc/emulab/paths.sh
8 9 10 11 12 13

#
# Boottime initialization. 
#
case "$1" in
start)
14
	echo ""
15
	$BINDIR/rc/rc.testbed
16 17
	;;
stop)
18
	# Foreground mode.
19
	$BINDIR/rc/rc.bootsetup shutdown
20 21 22 23 24 25 26
	;;
*)
	echo "Usage: `basename $0` {start|stop}" >&2
	;;
esac

exit 0