]> git.pld-linux.org Git - packages/xen.git/blobdiff - xenstored.init
BR: gcc-multilib-32
[packages/xen.git] / xenstored.init
index b65b9394ef8813350aab5e1abc43c3d028384f80..464272cba9ba9421de564653e658114301e3ea1f 100644 (file)
@@ -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
@@ -62,6 +51,7 @@ start () {
        show "Setting domain 0 name"
        busy
        xenstore-write "/local/domain/0/name" "Domain-0"
+       xenstore-write "/local/domain/0/domid" "0"
        ok
        touch /var/lock/subsys/xenstored
 }
This page took 0.051089 seconds and 4 git commands to generate.