X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Fcasper.init;h=ae1a1a4f58783862c87f125f156b57b3c5cdde59;hb=4042b2eda2107dda511a29ae376d9724e0fd7a33;hp=c69e387bf9a11b33f808a95e9c6556e2a4dedec0;hpb=6089202e090aa2d84c670251196c42ba128f3caf;p=live-boot-grml.git 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