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

Petter Reinholdtsen pere at alioth.debian.org
Mon Jun 29 17:36:15 UTC 2009


Author: pere
Date: 2009-06-29 17:36:13 +0000 (Mon, 29 Jun 2009)
New Revision: 1360

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/sysv-rc/etc/init.d/rc
Log:
Fix computing of runlevel in init.d/rc by allowing A-Z in init
scripts names (like NetworkManager).  Patch from Loic Minier
and Ubuntu.

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2009-06-29 17:20:41 UTC (rev 1359)
+++ sysvinit/trunk/debian/changelog	2009-06-29 17:36:13 UTC (rev 1360)
@@ -21,6 +21,9 @@
     manual page (Closes: #499863).
   * Add 'status' argument to init.d/bootlogd based on patch from
     Scott James Remnant and Ubuntu.
+  * Fix computing of runlevel in init.d/rc by allowing A-Z in init
+    scripts names (like NetworkManager).  Patch from Loic Minier
+    and Ubuntu.
 
  -- Kel Modderman <kel at otaku42.de>  Thu, 25 Jun 2009 08:27:16 +1000
 

Modified: sysvinit/trunk/debian/sysv-rc/etc/init.d/rc
===================================================================
--- sysvinit/trunk/debian/sysv-rc/etc/init.d/rc	2009-06-29 17:20:41 UTC (rev 1359)
+++ sysvinit/trunk/debian/sysv-rc/etc/init.d/rc	2009-06-29 17:36:13 UTC (rev 1360)
@@ -235,7 +235,7 @@
 		do
 			# Extract order value from symlink
 			level=${s#/etc/rc$runlevel.d/K}
-			level=${level%%[a-z]*}
+			level=${level%%[a-zA-Z]*}
 			if [ "$level" = "$CURLEVEL" ]
 			then
 				continue
@@ -287,7 +287,7 @@
 		do
 			# Extract order value from symlink
 			level=${s#/etc/rc$runlevel.d/S}
-			level=${level%%[a-z]*}
+			level=${level%%[a-zA-Z]*}
 			if [ "$level" = "$CURLEVEL" ]
 			then
 				continue




More information about the Pkg-sysvinit-commits mailing list