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:59:20 +0100
commit24e652917a129fac93d3bc5a34b265cf8a913cfc (patch)
tree9ffa8cec249e31888b2f53436282c8f1465a723d
parent9db6aa6ce21af597d58dd058be20e38c2a7eeccf (diff)
downloadlive-boot-24e652917a129fac93d3bc5a34b265cf8a913cfc.tar.gz
live-boot-24e652917a129fac93d3bc5a34b265cf8a913cfc.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 dd338b1..8ccbc01 100644
--- a/debian/live-boot.init
+++ b/debian/live-boot.init
@@ -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
;;
*)