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

pere at alioth.debian.org pere at alioth.debian.org
Sat Mar 1 23:12:19 UTC 2008


Author: pere
Date: 2008-03-01 23:12:19 +0000 (Sat, 01 Mar 2008)
New Revision: 1249

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/initscripts/etc/init.d/sendsigs
Log:
  * Make sure init.d/sendsigs work even when /proc/cmdline is missing
    as it is on vserver clients (Closes: #468473).

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2008-02-29 20:31:14 UTC (rev 1248)
+++ sysvinit/trunk/debian/changelog	2008-03-01 23:12:19 UTC (rev 1249)
@@ -10,6 +10,8 @@
     in "make mode".
   * Update LSB dependency for mountnfs.sh to make sure it is started
     after portmap.
+  * Make sure init.d/sendsigs work even when /proc/cmdline is missing
+    as it is on vserver clients (Closes: #468473).
 
  -- Petter Reinholdtsen <pere at debian.org>  Fri, 01 Feb 2008 19:37:42 +0100
 

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/sendsigs
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/sendsigs	2008-02-29 20:31:14 UTC (rev 1248)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/sendsigs	2008-03-01 23:12:19 UTC (rev 1249)
@@ -79,7 +79,7 @@
 
 splash_back() {
     # Restore splash if it was enabled and killed by do_stop
-    for x in $(cat /proc/cmdline); do
+    [ -f /proc/cmdline ] && for x in $(cat /proc/cmdline); do
 	case $x in
 	splash*)
 	    SPLASH=true;




More information about the Pkg-sysvinit-commits mailing list