ia64/xen-unstable

view tools/examples/init.d/xend @ 1776:c2f673cea5e4

bitkeeper revision 1.1072.1.1 (40f4e51fLMgcKX4Sn6FNYePX6EqkGA)

Merge http://xen.bkbits.net:8080/xeno-unstable.bk
into gandalf.hpl.hp.com:/var/bk/xeno-unstable.bk
author xenbk@gandalf.hpl.hp.com
date Wed Jul 14 07:47:43 2004 +0000 (2004-07-14)
parents bf992264fed2 ad09d919356e
children e91945007886
line source
1 #!/bin/bash
2 #
3 # xend Script to start and stop the Xen control daemon.
4 #
5 # Author: Keir Fraser <keir.fraser@cl.cam.ac.uk>
6 #
7 # chkconfig: 2345 99 00
8 # description: Starts and stops the Xen control daemon.
10 . /etc/init.d/functions || . /etc/init.d/functions.sh
12 case "$1" in
13 start)
14 xend start
15 exit $?
16 ;;
17 stop)
18 xend stop
19 exit $?
20 ;;
21 status)
22 ;;
23 restart|reload)
24 ;;
25 *)
26 # do not advertise unreasonable commands that there is no reason
27 # to use with this device
28 echo $"Usage: $0 {start|stop|status|restart|reload}"
29 exit 1
30 esac
32 exit 0