[Pkg-sysvinit-commits] r1665 - in sysvinit/trunk/debian: . initscripts/etc/init.d

Petter Reinholdtsen pere at alioth.debian.org
Sun Aug 30 09:44:12 UTC 2009


Author: pere
Date: 2009-08-30 09:44:12 +0000 (Sun, 30 Aug 2009)
New Revision: 1665

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/initscripts/etc/init.d/killprocs
Log:
Remove code in init.d/killprocs to restart /sbin/update, as it is
only useful for kernels up to linux 2.2, which is no longer
supported (Closes: #544249).  Thanks to Marco d'Itri for the tip.

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2009-08-29 18:10:05 UTC (rev 1664)
+++ sysvinit/trunk/debian/changelog	2009-08-30 09:44:12 UTC (rev 1665)
@@ -78,6 +78,9 @@
     before oldstable was released.
   * Drop initscripts conflict on usplash (<< 0.5.8-2), which was
     before stable was released.
+  * Remove code in init.d/killprocs to restart /sbin/update, as it is
+    only useful for kernels up to linux 2.2, which is no longer
+    supported (Closes: #544249).  Thanks to Marco d'Itri for the tip.
 
  -- Kel Modderman <kel at otaku42.de>  Sun, 02 Aug 2009 05:46:21 +1000
 

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/killprocs
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/killprocs	2009-08-29 18:10:05 UTC (rev 1664)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/killprocs	2009-08-30 09:44:12 UTC (rev 1665)
@@ -42,16 +42,6 @@
 	    log_action_begin_msg "All processes ended within $seq seconds."
 	    log_action_end_msg 0
 	fi
-
-	# We start update here, since we just killed it.
-	if [ -x /sbin/update ] && [ "$(uname -s)" = Linux ]
-	then
-		case "$(uname -r)" in
-		  0.*|1.*|2.[0123].*)
-			/sbin/update
-			;;
-		esac
-	fi
 }
 
 case "$1" in




More information about the Pkg-sysvinit-commits mailing list