From 744a8bbb4a2e2d58a2118f7796528b593905fc50 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 16 Apr 2009 23:34:38 +0000 Subject: Don't unmount /bin,/sbin,/lib,/libexec in the very silly cases where they are not on / --- init.d/mount-ro.in | 1 + 1 file changed, 1 insertion(+) (limited to 'init.d/mount-ro.in') diff --git a/init.d/mount-ro.in b/init.d/mount-ro.in index 2fb83c0a..2e418724 100644 --- a/init.d/mount-ro.in +++ b/init.d/mount-ro.in @@ -20,6 +20,7 @@ start() . "${RC_LIBDIR}"/sh/rc-mount.sh eindent local m="/dev|/dev/.*|/proc|/proc.*|/sys|/sys/.*|${RC_SVCDIR}" x= fs= + m="${m}|/bin|/sbin|/lib|/libexec" # RC_NO_UMOUNTS is an env var that can be set by plugins local OIFS=$IFS SIFS=${IFS-y} IFS=$IFS IFS=$IFS: -- cgit v1.2.3