]> xenbits.xensource.com Git - xen.git/commitdiff
init.d: Fix xencommons init script chkconfig configuration
authorKeir Fraser <keir@xen.org>
Fri, 25 Mar 2011 09:05:49 +0000 (09:05 +0000)
committerKeir Fraser <keir@xen.org>
Fri, 25 Mar 2011 09:05:49 +0000 (09:05 +0000)
Fix the xencommons init script chkconfig configuration since the
priority was missing here and chkconfig was complaining about invalid
chkconfig script so I added both start and stop priorities to the
chkconfig line and it was working fine, the script was successfully
added to chkconfig when using `chkconfig --add xencommons` and
management using the chkconfig utility was now possible.

Tested on RHEL-5 Server with Xen-4.1-unstable installed, running on
PVops kernel 2.6.32.15 and it was working fine.

Signed-off-by: Michal Novotny <minovotn@redhat.com>
xen-unstable changeset:   21657:e2f5e4f3481c
xen-unstable date:        Tue Jun 22 16:22:30 2010 +0100

tools/hotplug/Linux/init.d/xencommons

index df34c8a3f56725d52a502c70a438382736b84c4b..6f393c513dfe5f7d3aa0e60aedd18d86cd899125 100644 (file)
@@ -5,7 +5,7 @@
 #
 # Author:       Ian Jackson <ian.jackson@eu.citrix.com>
 #
-# chkconfig: 2345
+# chkconfig: 2345 70 10
 # description: Starts and stops the Xen control daemon.
 ### BEGIN INIT INFO
 # Provides:          xenstored xenconsoled