slitaz-boot-scripts diff etc/init.d/rc.shutdown @ rev 444
etc/init.d/rcS: fix "Searching for early boot options..." status.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Oct 05 15:33:26 2017 +0300 (2017-10-05) |
parents | 7d4703882980 |
children |
line diff
1.1 --- a/etc/init.d/rc.shutdown Wed Jul 16 21:30:54 2014 +0000 1.2 +++ b/etc/init.d/rc.shutdown Thu Oct 05 15:33:26 2017 +0300 1.3 @@ -8,7 +8,7 @@ 1.4 log=/var/log/slitaz/shutdown.log 1.5 1.6 # Clear and quiet shutdown 1.7 -clear && echo "System is going down for reboot or halt." > $log 1.8 +clear; echo 'System is going down for reboot or halt.' > $log 1.9 uptime >> $log 1.10 1.11 # Store last alsa settings. 1.12 @@ -17,8 +17,7 @@ 1.13 fi 1.14 1.15 # Stop all daemons started at boot time. 1.16 -for daemon in $RUN_DAEMONS 1.17 -do 1.18 +for daemon in $RUN_DAEMONS; do 1.19 if [ -x /etc/init.d/$daemon ]; then 1.20 /etc/init.d/$daemon stop >> $log 1.21 fi