Remounting cow read-only before prompting user to remove usb flash drive.
[live-boot-grml.git] / debian / live-boot.init
index 2ea72cb..f8471b6 100644 (file)
@@ -156,6 +156,8 @@ do_stop ()
                esac
        done
 
+       mount -o remount,ro /live/cow
+
        if [ -z ${QUICKREBOOT} ]
        then
 
@@ -223,8 +225,6 @@ case "${1}" in
                                [ "${VERBOSE}" != no ] && log_end_msg 1
                                ;;
                esac
-
-               mount -o remount,ro /live/cow
                ;;
 
        *)