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

#
# Jail startup. To be run inside of a jail!
#
case "$1" in
start)
14 15
        $BINDIR/jaildog.pl > /dev/null 2>&1
	echo -n ' Emulab'
16 17 18 19 20 21 22 23 24 25 26 27 28
	;;
stop)
	#
	# Don't bother. Inside of a jail everything gets killed at once.
	#
	echo -n ' Emulab'
	;;
*)
	echo "Usage: `basename $0` {start|stop}" >&2
	;;
esac

exit 0