From 4042b2eda2107dda511a29ae376d9724e0fd7a33 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 14:46:25 +0200 Subject: Adding casper 1.71+debian-1. --- debian/casper.init | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'debian/casper.init') diff --git a/debian/casper.init b/debian/casper.init index c69e387..ae1a1a4 100644 --- a/debian/casper.init +++ b/debian/casper.init @@ -64,11 +64,11 @@ do_stop () eject -p -m /live_media >/dev/null 2>&1 # XXX - i18n - echo -n "Please remove the disc and close the tray (if any) then press ENTER: " + echo "Please remove the disc and close the tray (if any) then press ENTER: " if [ -x /sbin/usplash_write ]; then - /sbin/usplash_write "TIMEOUT 0" - /sbin/usplash_write "TEXT Please remove the disc, close the tray (if any)" - /sbin/usplash_write "TEXT and press ENTER to continue" + /sbin/usplash_write "TIMEOUT 86400" + /sbin/usplash_write "TEXT-URGENT Please remove the disc, close the tray (if any)" + /sbin/usplash_write "TEXT-URGENT and press ENTER to continue" fi read x < /dev/console @@ -76,8 +76,10 @@ do_stop () case "$1" in start|restart|reload|force-reload|status) + [ "$VERBOSE" != no ] && log_end_msg 0 ;; stop) + log_begin_msg "Caching reboot files..." do_stop case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; @@ -85,7 +87,7 @@ case "$1" in esac ;; *) - echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 + log_success_msg "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 exit 3 ;; esac -- cgit v1.2.3