[Pkg-sysvinit-commits] r703 -
sysvinit/trunk/debian/sysv-rc/etc/init.d
Thomas Hood
jdthood-guest at costa.debian.org
Wed Jan 25 11:25:51 UTC 2006
Author: jdthood-guest
Date: 2006-01-25 11:25:50 +0000 (Wed, 25 Jan 2006)
New Revision: 703
Modified:
sysvinit/trunk/debian/sysv-rc/etc/init.d/README
Log:
Update README
Modified: sysvinit/trunk/debian/sysv-rc/etc/init.d/README
===================================================================
--- sysvinit/trunk/debian/sysv-rc/etc/init.d/README 2006-01-25 10:46:28 UTC (rev 702)
+++ sysvinit/trunk/debian/sysv-rc/etc/init.d/README 2006-01-25 11:25:50 UTC (rev 703)
@@ -19,9 +19,13 @@
Some more detailed info can also be found in /usr/share/doc/sysvinit.
-The following additional rules apply:
+Debian Policy dictates that /etc/init.d/*.sh scripts must work properly
+when sourced. The following additional rules apply:
-* /etc/init.d/*.sh scripts must include "#!/bin/sh" and must conform to
- the rules for such scripts as spelled out in the Debian policy section
- entitled "Scripts" (§10.4).
+* /etc/init.d/*.sh scripts may not rely for their correct functioning
+ on their being sourced rather than executed. That is, they must work
+ properly when executed too. They must include "#!/bin/sh" at the top.
+* /etc/init.d/*.sh scripts must conform to the rules for sh scripts as
+ spelled out in the Debian policy section entitled "Scripts" (§10.4).
+
More information about the Pkg-sysvinit-commits
mailing list