Remounting cow read-only before prompting user to remove usb flash drive.
authorRonny Standtke <ronny.standtke@fhnw.ch>
Wed, 1 Dec 2010 20:36:08 +0000 (20:36 +0000)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:59:20 +0000 (17:59 +0100)
debian/live-boot.init

index dd338b1..8ccbc01 100644 (file)
@@ -155,6 +155,8 @@ do_stop ()
                esac
        done
 
+       mount -o remount,ro /live/cow
+
        if [ -z ${QUICKREBOOT} ]
        then
 
@@ -233,8 +235,6 @@ case "${1}" in
                                [ "${VERBOSE}" != no ] && log_end_msg 1
                                ;;
                esac
-
-               mount -o remount,ro /live/cow
                ;;
 
        *)