[Pkg-sysvinit-commits] r1291 - in sysvinit/trunk/debian: . sysv-rc/sbin

pere at alioth.debian.org pere at alioth.debian.org
Thu Jul 17 13:11:35 UTC 2008


Author: pere
Date: 2008-07-17 13:11:34 +0000 (Thu, 17 Jul 2008)
New Revision: 1291

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/sysv-rc/sbin/update-rc.d
Log:
  * Fix typo in update-rc.d, making sure it ignore the LSB Default-Start header.

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2008-07-16 17:47:41 UTC (rev 1290)
+++ sysvinit/trunk/debian/changelog	2008-07-17 13:11:34 UTC (rev 1291)
@@ -3,6 +3,7 @@
   * Make bootmisc.sh depend on $remote_fs instead of $local_fs, to
     make sure it is executed after mountnfs-bootclean.sh to avoid
     cleaning up /var/run/ twice (Closes: #491059).
+  * Fix typo in update-rc.d, making sure it ignore the LSB Default-Start header.
 
  -- Petter Reinholdtsen <pere at debian.org>  Wed, 16 Jul 2008 19:46:33 +0200
 

Modified: sysvinit/trunk/debian/sysv-rc/sbin/update-rc.d
===================================================================
--- sysvinit/trunk/debian/sysv-rc/sbin/update-rc.d	2008-07-16 17:47:41 UTC (rev 1290)
+++ sysvinit/trunk/debian/sysv-rc/sbin/update-rc.d	2008-07-17 13:11:34 UTC (rev 1291)
@@ -184,7 +184,7 @@
 	$stoplinks[0] = $stoplinks[1] = $stoplinks[6] = "K$stop";
     }
 
-    if (exists $lsbinfo{'default-start'}) {
+    if (-e $lsbparseflag && exists $lsbinfo{'default-start'}) {
 	for my $level (split(/\s+/, $lsbinfo{'default-start'})) {
 	    $level = 99 if ($level eq 'S');
 	    $startlinks[$level] = "S$start";




More information about the Pkg-sysvinit-commits mailing list