Depend on the same live-boot-initramfs-tools/live-boot-backend version.
[live-boot-grml.git] / debian / live-boot.init
index 8ccbc01..f0982a8 100644 (file)
@@ -136,7 +136,7 @@ do_stop ()
        fi
 
        prompt=1
-       if [ ${NOPROMPT} = "Yes" ]
+       if [ "${NOPROMPT}" = "Yes" ]
        then
                prompt=
        fi
@@ -173,14 +173,14 @@ do_stop ()
                        # "ejected" state even after reboot
                        MESSAGE="Please remove the USB flash drive"
 
-                       if [ ${NOPROMPT} = "usb" ]
+                       if [ "${NOPROMPT}" = "usb" ]
                        then
                                prompt=
                        fi
 
                else
                        # ejecting is a very good idea here
-                       MESSAGE="Please remove the disc, close the the tray (if any)"
+                       MESSAGE="Please remove the disc, close the tray (if any)"
 
                        if [ -x /usr/bin/eject ]
                        then