[Pkg-sysvinit-commits] r508 - in sysvinit/trunk/debian: . sysv-rc
sysv-rc/etc sysv-rc/etc/rc0.d sysv-rc/etc/rc1.d sysv-rc/etc/rc6.d
Thomas Hood
jdthood-guest at costa.debian.org
Tue Jan 3 18:39:02 UTC 2006
Author: jdthood-guest
Date: 2006-01-03 18:38:59 +0000 (Tue, 03 Jan 2006)
New Revision: 508
Added:
sysvinit/trunk/debian/sysv-rc/etc/rc0.d/
sysvinit/trunk/debian/sysv-rc/etc/rc0.d/README
sysvinit/trunk/debian/sysv-rc/etc/rc1.d/
sysvinit/trunk/debian/sysv-rc/etc/rc1.d/README
sysvinit/trunk/debian/sysv-rc/etc/rc6.d/
sysvinit/trunk/debian/sysv-rc/etc/rc6.d/README
sysvinit/trunk/debian/sysv-rc/rc2-5.d-README
Modified:
sysvinit/trunk/debian/changelog
sysvinit/trunk/debian/rules
Log:
Add READMEs for remaining runlevel dirs
Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog 2006-01-03 18:19:04 UTC (rev 507)
+++ sysvinit/trunk/debian/changelog 2006-01-03 18:38:59 UTC (rev 508)
@@ -30,6 +30,7 @@
* sysvinit: Depend on libc6 rather than Pre-Depending on it; we don't
do anything special in the preinsts
* Tweak descriptions
+ * Add READMEs for remaining runlevel dirs (Closes: #242957)
* Previous release also closes: #227540
[ Petter Reinholdtsen ]
Modified: sysvinit/trunk/debian/rules
===================================================================
--- sysvinit/trunk/debian/rules 2006-01-03 18:19:04 UTC (rev 507)
+++ sysvinit/trunk/debian/rules 2006-01-03 18:38:59 UTC (rev 508)
@@ -171,8 +171,12 @@
> $(tmp)$(doc)/sysv-rc/changelog.Debian
chmod 644 $(tmp)$(doc)/sysv-rc/changelog.Debian
gzip -9f $(tmp)$(doc)/sysv-rc/*
- install -d -g root -m 755 -o root $(tmp)/etc/rc{0,1,2,3,4,5,6}.d
+ install -d -g root -m 755 -o root $(tmp)/etc/rc{2,3,4,5}.d
cp -af debian/sysv-rc/etc/* $(tmp)/etc
+ for N in 2 3 4 5 ; do \
+ install -g root -m 644 -o root debian/sysv-rc/rc2-5.d-README \
+ $(tmp)/etc/rc$${N}.d ; \
+ done
chmod 755 $(tmp)/etc/init.d/[a-z]*
chmod 644 $(tmp)/etc/init.d/README
chmod -R go=u-w $(tmp)/etc
Added: sysvinit/trunk/debian/sysv-rc/etc/rc0.d/README
===================================================================
--- sysvinit/trunk/debian/sysv-rc/etc/rc0.d/README 2006-01-03 18:19:04 UTC (rev 507)
+++ sysvinit/trunk/debian/sysv-rc/etc/rc0.d/README 2006-01-03 18:38:59 UTC (rev 508)
@@ -0,0 +1,11 @@
+The scripts in this directory are executed once when entering
+runlevel 0.
+
+The scripts are all symbolic links whose targets are located in
+/etc/init.d/ .
+
+Generally it is not necessary to alter the scripts in this directory.
+Their purpose is to stop all services and to make the system ready
+for shutdown.
+
+For a more information see /etc/init.d/README.
Added: sysvinit/trunk/debian/sysv-rc/etc/rc1.d/README
===================================================================
--- sysvinit/trunk/debian/sysv-rc/etc/rc1.d/README 2006-01-03 18:19:04 UTC (rev 507)
+++ sysvinit/trunk/debian/sysv-rc/etc/rc1.d/README 2006-01-03 18:38:59 UTC (rev 508)
@@ -0,0 +1,11 @@
+The scripts in this directory are executed each time the system enters
+this runlevel.
+
+The scripts are all symbolic links whose targets are located in
+/etc/init.d/ .
+
+Generally it is not necessary to alter the scripts in this directory.
+Their purpose is to stop all services and thus to put the system in
+single-user mode.
+
+For a more information see /etc/init.d/README.
Added: sysvinit/trunk/debian/sysv-rc/etc/rc6.d/README
===================================================================
--- sysvinit/trunk/debian/sysv-rc/etc/rc6.d/README 2006-01-03 18:19:04 UTC (rev 507)
+++ sysvinit/trunk/debian/sysv-rc/etc/rc6.d/README 2006-01-03 18:38:59 UTC (rev 508)
@@ -0,0 +1,11 @@
+The scripts in this directory are executed once when entering
+runlevel 6.
+
+The scripts are all symbolic links whose targets are located in
+/etc/init.d/ .
+
+Generally it is not necessary to alter the scripts in this directory.
+Their purpose is to stop all services and to make the system ready
+for reboot.
+
+For a more information see /etc/init.d/README.
Added: sysvinit/trunk/debian/sysv-rc/rc2-5.d-README
===================================================================
--- sysvinit/trunk/debian/sysv-rc/rc2-5.d-README 2006-01-03 18:19:04 UTC (rev 507)
+++ sysvinit/trunk/debian/sysv-rc/rc2-5.d-README 2006-01-03 18:38:59 UTC (rev 508)
@@ -0,0 +1,13 @@
+The scripts in this directory are executed each time the system enters
+this runlevel.
+
+The scripts are all symbolic links whose targets are located in
+/etc/init.d/ .
+
+To disable a service in this runlevel, rename its script in this directory
+so that the new name begins with a 'K' and a two-digit number, where the
+number is the difference between the two-digit number following the 'S'
+in its current name, and 100. To re-enable the service, rename the script
+back to its original name beginning with 'S'.
+
+For a more information see /etc/init.d/README.
More information about the Pkg-sysvinit-commits
mailing list