Files
xen/tools/examples/init.d/xend
T
kaf24@scramble.cl.cam.ac.uk 6d303dacab bitkeeper revision 1.819 (405ff597IZG6ZJZ_KUXF4rm3sEo57A)
console_client.py, xencons, Makefile, Console-HOWTO.txt:
  Console and controller modifications.
xend:
  new file
xendomains:
  Rename: tools/examples/xendomains -> tools/examples/init.d/xendomains
2004-03-23 08:30:15 +00:00

34 lines
525 B
Bash
Executable File

#!/bin/bash
#
# xend Script to start and stop the Xen control daemon.
#
# Author: Keir Fraser <keir.fraser@cl.cam.ac.uk>
#
# chkconfig: 2345 99 00
# description: Starts and stops the Xen control daemon.
. /etc/init.d/functions
case "$1" in
start)
xend start
exit $?
;;
stop)
xend stop
exit $?
;;
status)
;;
restart|reload)
;;
*)
# do not advertise unreasonable commands that there is no reason
# to use with this device
echo $"Usage: $0 {start|stop|status|restart|reload}"
exit 1
esac
exit 0