diff options
Diffstat (limited to 'debian/live-initramfs.init')
| -rw-r--r-- | debian/live-initramfs.init | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/live-initramfs.init b/debian/live-initramfs.init index a7274bd..cbad459 100644 --- a/debian/live-initramfs.init +++ b/debian/live-initramfs.init @@ -81,7 +81,10 @@ do_stop () done if [ -z ${QUICKREBOOT} ]; then - eject -p -m /live_media >/dev/null 2>&1 + if [ -x /usr/bin/eject ] + then + eject -p -m /live_media >/dev/null 2>&1 + fi # XXX - i18n echo "Please remove the disc and close the tray (if any) then press ENTER: " |
