diff options
| author | Daniel Baumann <daniel@debian.org> | 2009-02-08 00:41:20 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:04 +0100 |
| commit | 1b1b8c0e4c07e487a9467198cc4ab715ffd6982f (patch) | |
| tree | 5ee06796b385b929d8f61e7e503c05aa18165f33 | |
| parent | 54b93363ae56d6b4184405ac25dc2d12fdd60760 (diff) | |
| download | live-boot-1b1b8c0e4c07e487a9467198cc4ab715ffd6982f.tar.gz live-boot-1b1b8c0e4c07e487a9467198cc4ab715ffd6982f.zip | |
Making medium removal message working again with usplash.
| -rw-r--r-- | debian/live-initramfs.init | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/debian/live-initramfs.init b/debian/live-initramfs.init index 6a97b45..4371a1a 100644 --- a/debian/live-initramfs.init +++ b/debian/live-initramfs.init @@ -126,17 +126,16 @@ do_stop () eject -p -m /live/image >/dev/null 2>&1 MESSAGE="Please remove the disc, close the the tray (if any)" fi - MESSAGE="${MESSAGE} and press ENTER to continue:" [ "$prompt" ] || return 0 fi stty sane < /dev/console - echo -n -e "\n\n${MESSAGE}" > /dev/console + echo -n -e "\n\n${MESSAGE} and press ENTER to continue:" > /dev/console if [ -x /sbin/usplash_write ]; then /sbin/usplash_write "TIMEOUT 86400" - /sbin/usplash_write "TEXT-URGENT Please remove the disc, close the tray (if any)" + /sbin/usplash_write "TEXT-URGENT ${MESSAGE}" /sbin/usplash_write "TEXT-URGENT and press ENTER to continue" fi |
