r9321 - in trunk/BOOK/bootscripts/contrib/lsb-v3: . init.d

dj at linuxfromscratch.org dj at linuxfromscratch.org
Sat Jun 26 22:32:22 PDT 2010


Author: dj
Date: 2010-06-26 23:32:22 -0600 (Sat, 26 Jun 2010)
New Revision: 9321

Modified:
   trunk/BOOK/bootscripts/contrib/lsb-v3/ChangeLog
   trunk/BOOK/bootscripts/contrib/lsb-v3/init.d/sendsignals
Log:
Sync to main.  Updated lsb-v3 scripts to account for change in sysvinit version.

Modified: trunk/BOOK/bootscripts/contrib/lsb-v3/ChangeLog
===================================================================
--- trunk/BOOK/bootscripts/contrib/lsb-v3/ChangeLog	2010-06-27 05:15:45 UTC (rev 9320)
+++ trunk/BOOK/bootscripts/contrib/lsb-v3/ChangeLog	2010-06-27 05:32:22 UTC (rev 9321)
@@ -1,5 +1,7 @@
 ChangeLog
 
+20100627 - [dj] * Sync to LFS-Bootscripts-20100627 (killall in new sysvinit).
+
 20100529 - [matthew]
                 * Only copy /lib/udev/devices/null, as Udev >= 155 copies
                   devices from /lib/udev/devices to /dev itself.

Modified: trunk/BOOK/bootscripts/contrib/lsb-v3/init.d/sendsignals
===================================================================
--- trunk/BOOK/bootscripts/contrib/lsb-v3/init.d/sendsignals	2010-06-27 05:15:45 UTC (rev 9320)
+++ trunk/BOOK/bootscripts/contrib/lsb-v3/init.d/sendsignals	2010-06-27 05:32:22 UTC (rev 9321)
@@ -21,7 +21,10 @@
         message="Sending all processes the TERM signal..."
         killall5 -15
         error_value=${?}
-
+        # Account for successful return value of 2
+        if [ ${error_value} == 2 ]
+            error_value="0"
+        fi
         sleep 3
 
         (exit ${error_value})
@@ -30,6 +33,10 @@
         message="Sending all processes the KILL signal..."
         killall5 -9
         error_value=${?}
+        # Account for successful return value of 2
+        if [ ${error_value} == 2 ]
+            error_value="0"
+        fi
 
         sleep 3
 




More information about the lfs-book mailing list