Adding live-initramfs 1.91.5-1.
[live-boot-grml.git] / debian / init
index a7274bd..d515c39 100644 (file)
@@ -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/image >/dev/null 2>&1
+       fi
 
        # XXX - i18n
        echo "Please remove the disc and close the tray (if any) then press ENTER: "