[Pkg-sysvinit-commits] r1891 - in sysvinit/trunk/debian: . src/sysv-rc/etc/init.d
Petter Reinholdtsen
pere at alioth.debian.org
Wed May 12 19:27:00 UTC 2010
Author: pere
Date: 2010-05-12 19:26:59 +0000 (Wed, 12 May 2010)
New Revision: 1891
Modified:
sysvinit/trunk/debian/changelog
sysvinit/trunk/debian/src/sysv-rc/etc/init.d/README
Log:
Mention the LSB style header now required for init.d scripts in
/etc/init.d/README (Closes: #576788).
Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog 2010-05-12 18:56:52 UTC (rev 1890)
+++ sysvinit/trunk/debian/changelog 2010-05-12 19:26:59 UTC (rev 1891)
@@ -8,6 +8,8 @@
aliases for makefile style concurrency, as both are obsolete now.
* Add 64_init_selinux_enabled.patch to try to fix the logic used to
enable SELinux (Closes: #580272).
+ * Mention the LSB style header now required for init.d scripts in
+ /etc/init.d/README (Closes: #576788).
-- Petter Reinholdtsen <pere at debian.org> Wed, 28 Apr 2010 19:37:54 +0200
Modified: sysvinit/trunk/debian/src/sysv-rc/etc/init.d/README
===================================================================
--- sysvinit/trunk/debian/src/sysv-rc/etc/init.d/README 2010-05-12 18:56:52 UTC (rev 1890)
+++ sysvinit/trunk/debian/src/sysv-rc/etc/init.d/README 2010-05-12 19:26:59 UTC (rev 1891)
@@ -33,3 +33,27 @@
Use the update-rc.d command to create symbolic links in the /etc/rc?.d
as appropriate. See that man page for more details.
+
+All init.d scripts are expected to have a LSB style header documenting
+dependencies and default runlevel settings. The header look like this
+(not all fields are required):
+
+### BEGIN INIT INFO
+# Provides: skeleton
+# Required-Start: $remote_fs $syslog
+# Required-Stop: $remote_fs $syslog
+# Should-Start: $portmap
+# Should-Stop: $portmap
+# X-Start-Before: nis
+# X-Stop-After: nis
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# X-Interactive: true
+# Short-Description: Example initscript
+# Description: This file should be used to construct scripts to be
+# placed in /etc/init.d.
+### END INIT INFO
+
+More information on the format is available from insserv(8). This
+information is used to dynamicaly assign sequence numbers to the
+boot scripts and to run the scripts in parallel during the boot.
More information about the Pkg-sysvinit-commits
mailing list