wait flag for killall5

This commit is contained in:
2016-03-29 15:40:14 +03:00
parent 409f6f8cd2
commit fced4775b1
2 changed files with 48 additions and 4 deletions

4
rc.in
View File

@@ -101,10 +101,10 @@ rc.services_stop() {
rc.stop_everything() {
echo "Politely asking all processes to shut down..."
killall5 -15; sleep 3
killall5 -s 15 -w "${cfg_killall5_timeout:-30}"
echo "Killing the remaning ones..."
killall5 -9
killall5 -s 9
}
rc.unmount_everything() {