summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Standtke <ronny.standtke@fhnw.ch>2010-12-01 20:36:08 +0000
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:54:32 +0100
commita8c577a5c5a2e6a910986aa880347c73d3103077 (patch)
treeb3b25e832ae162fac748b4550d5f0fb7f67a823a
parent2b1ba02a12db2c48fc65895ed732192927982c69 (diff)
downloadlive-boot-a8c577a5c5a2e6a910986aa880347c73d3103077.tar.gz
live-boot-a8c577a5c5a2e6a910986aa880347c73d3103077.zip
Remounting cow read-only before prompting user to remove usb flash drive.
-rw-r--r--debian/live-boot.init4
1 files changed, 2 insertions, 2 deletions
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
;;
*)