diff --git a/init.d/localmount.in b/init.d/localmount.in index 54448892..42b79883 100644 --- a/init.d/localmount.in +++ b/init.d/localmount.in @@ -59,7 +59,7 @@ stop() no_umounts_r="^($no_umounts_r)$" # Flush all pending disk writes now - sync; sync + sync . "$RC_LIBEXECDIR"/sh/rc-mount.sh diff --git a/init.d/mount-ro.in b/init.d/mount-ro.in index f8d72586..3e093522 100644 --- a/init.d/mount-ro.in +++ b/init.d/mount-ro.in @@ -15,7 +15,7 @@ start() local ret=0 # Flush all pending disk writes now - sync; sync + sync ebegin "Remounting remaining filesystems read-only" # We need the do_unmount function