diff options
| author | intrigeri <intrigeri@boum.org> | 2009-10-19 20:34:32 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:06 +0100 |
| commit | 605e7fad72bdf94f15587c7824fb4ea977c8e4a3 (patch) | |
| tree | 418a0d70a08a8b2e00452c88bd6c04d75a2d78ba /debian | |
| parent | 2375825c9bd850667e8e0cacc867a3c14421ab5e (diff) | |
| download | live-boot-605e7fad72bdf94f15587c7824fb4ea977c8e4a3.tar.gz live-boot-605e7fad72bdf94f15587c7824fb4ea977c8e4a3.zip | |
Taking noprompt into account for USB flash drives as well.
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/live-initramfs.init | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/live-initramfs.init b/debian/live-initramfs.init index 3204924..5c79401 100644 --- a/debian/live-initramfs.init +++ b/debian/live-initramfs.init @@ -161,9 +161,10 @@ do_stop () eject -p -m /live/image >/dev/null 2>&1 fi - [ "$prompt" ] || return 0 fi + [ "$prompt" ] || return 0 + stty sane < /dev/console printf "\n\n${MESSAGE} and press ENTER to continue:" > /dev/console |
