From 511024406e308c190f5acdf9c925cfc1eadec1e3 Mon Sep 17 00:00:00 2001 From: Nikoli Date: Wed, 29 Jan 2014 13:07:54 +0400 Subject: [PATCH] Restart init before remounting read-only --- init.d/mount-ro.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.d/mount-ro.in b/init.d/mount-ro.in index a6438b5..fef04f1 100644 --- a/init.d/mount-ro.in +++ b/init.d/mount-ro.in @@ -14,6 +14,8 @@ start() { local ret=0 + # Restart init to ensure not using removed or replaced files + telinit u # Flush all pending disk writes now sync -- 1.8.3.2