From: Daniel Baumann Date: Fri, 25 Sep 2009 15:22:52 +0000 (+0200) Subject: Adding additional two sync calls before powerof happens in order to deal with 'does... X-Git-Tag: debian/1.157.4-1~7 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=2eb46e45daa7883cde61acf519270faef6f76ded;p=live-boot-grml.git Adding additional two sync calls before powerof happens in order to deal with 'does not cleanly unmount' problem when using root persistency. --- diff --git a/debian/live-initramfs.init b/debian/live-initramfs.init index 07f707c..3204924 100644 --- a/debian/live-initramfs.init +++ b/debian/live-initramfs.init @@ -137,6 +137,11 @@ 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)"