X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=xenstored.init;h=2784da33fb61ac29824c471aac28345599ff52f3;hb=05e10f1a309ca7873cc85e0ac49f403066d21d81;hp=b65b9394ef8813350aab5e1abc43c3d028384f80;hpb=2e8b91a6591423ba4b39e8054adc793aa8b426ec;p=packages%2Fxen.git diff --git a/xenstored.init b/xenstored.init index b65b939..2784da3 100644 --- a/xenstored.init +++ b/xenstored.init @@ -2,26 +2,15 @@ # # xenstored Script to start and stop xenstored # -# chkconfig: 2345 70 10 +# chkconfig: 2345 69 31 # description: Starts and stops xenstored # -### BEGIN INIT INFO -# Provides: xenstored -# Required-Start: $syslog $remote_fs -# Should-Start: -# Required-Stop: $syslog $remote_fs -# Should-Stop: -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: Start/stop xenstored -# Description: Starts and stops the daemons neeeded for xl/xend -### END INIT INFO # Source function library . /etc/rc.d/init.d/functions # Read in configuration options. -[ /etc/sysconfig/xenstored ] && . /etc/sysconfig/xenstored +[ -f /etc/sysconfig/xenstored ] && . /etc/sysconfig/xenstored if [ "$1" = "start" -a -d /proc/xen -a ! -f /proc/xen/capabilities ] && \ ! grep -qs '^xenfs ' /proc/mounts >/dev/null; then