From: Ronny Standtke Date: Wed, 1 Dec 2010 20:36:08 +0000 (+0000) Subject: Remounting cow read-only before prompting user to remove usb flash drive. X-Git-Tag: debian/2.0.15-1~9 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=a8c577a5c5a2e6a910986aa880347c73d3103077;p=live-boot-grml.git Remounting cow read-only before prompting user to remove usb flash drive. --- diff --git a/debian/live-boot.init b/debian/live-boot.init index 2ea72cb..f8471b6 100644 --- a/debian/live-boot.init +++ b/debian/live-boot.init @@ -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 ;; *)