[Pkg-sysvinit-commits] r1285 - in sysvinit/trunk/debian: . sysv-rc/etc/init.d

pere at alioth.debian.org pere at alioth.debian.org
Thu Jun 5 06:40:16 UTC 2008


Author: pere
Date: 2008-06-05 06:40:15 +0000 (Thu, 05 Jun 2008)
New Revision: 1285

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/sysv-rc/etc/init.d/rc
Log:
  * Fix uninitialised previous_stop caused by typo in fix for bug #483172.

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2008-05-29 18:11:11 UTC (rev 1284)
+++ sysvinit/trunk/debian/changelog	2008-06-05 06:40:15 UTC (rev 1285)
@@ -1,3 +1,9 @@
+sysvinit (2.86.ds1-59) UNRELEASED; urgency=low
+
+  * Fix uninitialised previous_stop caused by typo in fix for bug #483172.
+
+ -- Petter Reinholdtsen <pere at debian.org>  Thu,  5 Jun 2008 08:37:11 +0200
+
 sysvinit (2.86.ds1-58) unstable; urgency=low
 
   * Optimize start symlinks as if they are stop symlinks for runlevels 0 and

Modified: sysvinit/trunk/debian/sysv-rc/etc/init.d/rc
===================================================================
--- sysvinit/trunk/debian/sysv-rc/etc/init.d/rc	2008-05-29 18:11:11 UTC (rev 1284)
+++ sysvinit/trunk/debian/sysv-rc/etc/init.d/rc	2008-06-05 06:40:15 UTC (rev 1285)
@@ -355,6 +355,12 @@
 				else
 				    # Workaround for the special
 				    # handling of runlevels 0 and 6.
+				    previous_stop=/etc/rc$previous.d/K[0-9][0-9]$suffix
+				    #
+				    # If there is a stop script in the previous level
+				    # and _no_ start script there, we don't
+				    # have to re-stop the service.
+				    #
 				    [ -f $previous_stop ] && [ ! -f $previous_start ] && continue
 				fi
 




More information about the Pkg-sysvinit-commits mailing list