Skip to contentSkip to conversation

xendomains LSB INIT INFO

PATCH New Kurt Garloff 1 participant 1 message Mar 13, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xendomains LSB INIT INFO

Hi,

the xendomains init script missing the INIT INFO block that LSB wants.

Patch is against xen-2.0-testing

Pactch is from Matthias Pfafferodt.

Signature · 3 lines
Kurt Garloff                   <[email protected]>             [Koeln, DE]
Physics:Plasma modeling <[email protected]> [TU Eindhoven, NL]
Linux: SUSE Labs (Director)    <[email protected]>            [Novell Inc]

From: Matthias Pfafferodt <[email protected]>
Subject: Add LSB init header to xendomains init script

tools/examples/init.d/xendomains +12 -0
diff -uNrp xen-2.0-testing-2/tools/examples/init.d/xendomains xen-2.0-testing/tools/examples/init.d/xendomains
@@ -14,6 +14,18 @@
 # Applications HOWTO" by Avi Alkalay
 # <http://www.tldp.org/HOWTO/HighQuality-Apps-HOWTO/>
 #
+### BEGIN INIT INFO
+# Provides:          xendomains
+# Required-Start:    $syslog $remote_fs xend
+# Should-Start:
+# Required-Stop:     $syslog $remote_fs xend
+# Should-Stop:
+# Default-Start:     3 4 5
+# Default-Stop:      0 1 2 6
+# Short-Description: Start/stop secondary xen domains
+# Description:       Start / stop domains automatically when domain 0 
+#                    boots / shuts down.
+### END INIT INFO
 
 if ! [ -e /proc/xen/privcmd ]; then
 	exit 0