[PATCH] remount before displaying removal message to user
Hi
Please accept the following patch that moves the remount operation
before displaying the removal message to the user. Otherwise the user
sees the message, removes the flash drive and the remount operation
fails.
Ronny
--
Ronny Standtke Fachhochschule Nordwestschweiz
Dozent Medienpädagogik / ICT Pädagogische Hochschule
Telefon: +41 32 627 92 47 Obere Sternengasse 7
Mobil : +41 79 786 81 82 4502 Solothurn
diff --git a/debian/live-initramfs.init b/debian/live-initramfs.init
index 1ba8d5c..cdb8213 100644
--- a/debian/live-initramfs.init
+++ b/debian/live-initramfs.init
@@ -135,6 +135,8 @@ do_stop ()
esac
done
+ mount -o remount,ro /live/cow
+
if [ -z ${QUICKREBOOT} ]
then
# TODO: i18n
@@ -193,8 +195,6 @@ case "${1}" in
[ "${VERBOSE}" != no ] && log_end_msg 1
;;
esac
-
- mount -o remount,ro /live/cow
;;
*)
Reply to: