mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Sync to main. Updated lsb-v3 scripts to account for change in sysvinit version.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9321 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
6d4552205c
commit
d2abc4d35c
@ -1,5 +1,7 @@
|
|||||||
ChangeLog
|
ChangeLog
|
||||||
|
|
||||||
|
20100627 - [dj] * Sync to LFS-Bootscripts-20100627 (killall in new sysvinit).
|
||||||
|
|
||||||
20100529 - [matthew]
|
20100529 - [matthew]
|
||||||
* Only copy /lib/udev/devices/null, as Udev >= 155 copies
|
* Only copy /lib/udev/devices/null, as Udev >= 155 copies
|
||||||
devices from /lib/udev/devices to /dev itself.
|
devices from /lib/udev/devices to /dev itself.
|
||||||
|
@ -21,7 +21,10 @@ case "${1}" in
|
|||||||
message="Sending all processes the TERM signal..."
|
message="Sending all processes the TERM signal..."
|
||||||
killall5 -15
|
killall5 -15
|
||||||
error_value=${?}
|
error_value=${?}
|
||||||
|
# Account for successful return value of 2
|
||||||
|
if [ ${error_value} == 2 ]
|
||||||
|
error_value="0"
|
||||||
|
fi
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
(exit ${error_value})
|
(exit ${error_value})
|
||||||
@ -30,6 +33,10 @@ case "${1}" in
|
|||||||
message="Sending all processes the KILL signal..."
|
message="Sending all processes the KILL signal..."
|
||||||
killall5 -9
|
killall5 -9
|
||||||
error_value=${?}
|
error_value=${?}
|
||||||
|
# Account for successful return value of 2
|
||||||
|
if [ ${error_value} == 2 ]
|
||||||
|
error_value="0"
|
||||||
|
fi
|
||||||
|
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user