# HG changeset patch # User Christophe Lincoln # Date 1203727367 -3600 # Node ID f34a92a12c881384ae17999605cb8fc739b52c3f # Parent 79185a56779906b772e3e03af3128075293ae672 Typo and modified shutdown screen output diff -r 79185a567799 -r f34a92a12c88 etc/init.d/hwconf.sh --- a/etc/init.d/hwconf.sh Sat Feb 23 01:40:59 2008 +0100 +++ b/etc/init.d/hwconf.sh Sat Feb 23 01:42:47 2008 +0100 @@ -26,7 +26,7 @@ # Start soundconf to config driver and load module for Live mode /usr/sbin/soundconf else - echo "Unable to found : /usr/sbin/soundconf" + echo "Unable to found: /usr/sbin/soundconf" fi else # /var/lib/sound-card-driver exist so sound is already configured. @@ -39,3 +39,8 @@ alsactl restore status fi + +# Screen size config for slim/Xvesa. +if [ ! -f /etc/X11/screen.conf -a -e /usr/bin/slim ]; then + tazx +fi diff -r 79185a567799 -r f34a92a12c88 etc/init.d/rc.functions --- a/etc/init.d/rc.functions Sat Feb 23 01:40:59 2008 +0100 +++ b/etc/init.d/rc.functions Sat Feb 23 01:42:47 2008 +0100 @@ -18,7 +18,7 @@ usleep_progress() { CHAR='=' - for i in `seq 80-1` + for i in `seq 79-1` do echo -n "$CHAR" usleep 28000 diff -r 79185a567799 -r f34a92a12c88 etc/init.d/rc.shutdown --- a/etc/init.d/rc.shutdown Sat Feb 23 01:40:59 2008 +0100 +++ b/etc/init.d/rc.shutdown Sat Feb 23 01:42:47 2008 +0100 @@ -11,9 +11,9 @@ \033[1mSystem is going down for reboot or halt.\033[0m - Uptime:`uptime`" -echo "" -usleep_progress + Uptime:`uptime` + +================================================================================" echo "" # Stop all daemons started at boot time. @@ -33,7 +33,7 @@ # Swap off. echo -n "Disabling swap space... " /sbin/swapoff -a -status && sleep 2 +status # Kill all processes. echo -n "Killing all processes..." @@ -46,3 +46,7 @@ status echo "Unmounting all filesystems... " /bin/umount -a -r + +echo "" +usleep_progress +echo ""