X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Flive-boot.init;h=f0982a8e9aad130120dc19258c5a030b19926128;hb=1b79297f3f0777d9178f74e83bbd6f13255f9f69;hp=8ccbc01cc9842f5cd2cff0691721300819096561;hpb=24e652917a129fac93d3bc5a34b265cf8a913cfc;p=live-boot-grml.git diff --git a/debian/live-boot.init b/debian/live-boot.init index 8ccbc01..f0982a8 100644 --- a/debian/live-boot.init +++ b/debian/live-boot.init @@ -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