slitaz-boot-scripts diff etc/init.d/rc.shutdown @ rev 302

Huge clean, colored rcS, faster, fix sound and other devices (used need a devtmpfs mounted on /dev) disabled logging for now
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jun 01 21:46:07 2012 +0200 (2012-06-01)
parents bf2f87edd87c
children 93758e8de78a
line diff
     1.1 --- a/etc/init.d/rc.shutdown	Tue Mar 20 09:06:00 2012 +0100
     1.2 +++ b/etc/init.d/rc.shutdown	Fri Jun 01 21:46:07 2012 +0200
     1.3 @@ -1,19 +1,19 @@
     1.4  #!/bin/sh
     1.5 -# /etc/init.d/rc.shutdown - This script is used by /etc/inittab to stop
     1.6 -# all daemons and shutdown the system.
     1.7 +#
     1.8 +# /etc/init.d/rc.shutdown : Executed on system shutdown or reboot
     1.9  #
    1.10  . /etc/init.d/rc.functions
    1.11  . /etc/rcS.conf
    1.12  
    1.13  log=/var/lib/shutdown.log
    1.14  
    1.15 -# Bold info message with uptime
    1.16 +# Clear and quiet shutdown
    1.17  clear && echo "System is going down for reboot or halt." > $log
    1.18  uptime >> $log
    1.19  
    1.20  # Store last alsa settings.
    1.21  if [ -x /usr/sbin/alsactl ]; then
    1.22 -	alsactl store
    1.23 +	alsactl store 2>> $log
    1.24  fi
    1.25  
    1.26  # Stop all daemons started at boot time.