X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Flive-initramfs.init;h=1ba8d5c4d2967d42ab604e70298dc9828b70b5a9;hb=d655e60289cedb0cfb968e09a0b4f8c902479cb3;hp=3204924c74c46d2c4e26e10d8f641e6e4e8f0331;hpb=15cbf451f08848a6f416c8aaad78985878c777c1;p=live-boot-grml.git diff --git a/debian/live-initramfs.init b/debian/live-initramfs.init index 3204924..1ba8d5c 100644 --- a/debian/live-initramfs.init +++ b/debian/live-initramfs.init @@ -137,11 +137,6 @@ do_stop () if [ -z ${QUICKREBOOT} ] then - # in order to deal with the aufs unmount problem, we do a sync here. - sync - sleep 1 - sync - # TODO: i18n BOOT_DEVICE="$(get_boot_device)" @@ -161,9 +156,10 @@ do_stop () eject -p -m /live/image >/dev/null 2>&1 fi - [ "$prompt" ] || return 0 fi + [ "$prompt" ] || return 0 + stty sane < /dev/console printf "\n\n${MESSAGE} and press ENTER to continue:" > /dev/console @@ -197,6 +193,8 @@ case "${1}" in [ "${VERBOSE}" != no ] && log_end_msg 1 ;; esac + + mount -o remount,ro /live/cow ;; *)