diff options
| author | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:46:25 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:46:25 +0200 |
| commit | 4042b2eda2107dda511a29ae376d9724e0fd7a33 (patch) | |
| tree | 3872d4fadff8835fb5bd6675d27e439b29351807 /debian/casper.init | |
| parent | 6089202e090aa2d84c670251196c42ba128f3caf (diff) | |
| download | live-boot-4042b2eda2107dda511a29ae376d9724e0fd7a33.tar.gz live-boot-4042b2eda2107dda511a29ae376d9724e0fd7a33.zip | |
Adding casper 1.71+debian-1.
Diffstat (limited to 'debian/casper.init')
| -rw-r--r-- | debian/casper.init | 12 |
1 files changed, 7 insertions, 5 deletions
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 |
