[Pkg-sysvinit-commits] r848 - in sysvinit/trunk/debian: .
sysv-rc/etc/init.d
Petter Reinholdtsen
pere at costa.debian.org
Wed Sep 6 12:05:34 UTC 2006
Author: pere
Date: 2006-09-06 12:05:33 +0000 (Wed, 06 Sep 2006)
New Revision: 848
Modified:
sysvinit/trunk/debian/changelog
sysvinit/trunk/debian/sysv-rc/etc/init.d/rc
Log:
* Use the stop scripts from the runlevel we are leaving, not the one
we are entering, when switching between runlevels. (Closes: #309813)
Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog 2006-09-06 08:57:40 UTC (rev 847)
+++ sysvinit/trunk/debian/changelog 2006-09-06 12:05:33 UTC (rev 848)
@@ -52,6 +52,8 @@
* Change the default VERBOSE value from yes to no.
* Move init.d/hostname.sh to the very top of the boot sequence,
as it only require a readable /etc/hostname and a working kernel.
+ * Use the stop scripts from the runlevel we are leaving, not the one
+ we are entering, when switching between runlevels. (Closes: #309813)
-- Petter Reinholdtsen <pere at debian.org> Wed, 26 Jul 2006 11:37:23 +0200
Modified: sysvinit/trunk/debian/sysv-rc/etc/init.d/rc
===================================================================
--- sysvinit/trunk/debian/sysv-rc/etc/init.d/rc 2006-09-06 08:57:40 UTC (rev 847)
+++ sysvinit/trunk/debian/sysv-rc/etc/init.d/rc 2006-09-06 12:05:33 UTC (rev 848)
@@ -246,7 +246,7 @@
fi
CURLEVEL=$level
SCRIPTS=""
- for i in /etc/rc$runlevel.d/K$level*
+ for i in /etc/rc$previous.d/K$level*
do
# Check if the script is there.
[ ! -f $i ] && continue
More information about the Pkg-sysvinit-commits
mailing list