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/localmount.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.d/localmount.in') diff --git a/init.d/localmount.in b/init.d/localmount.in index c9c39db..07a95e8 100644 --- a/init.d/localmount.in +++ b/init.d/localmount.in @@ -31,7 +31,7 @@ stop() { # We never unmount / or /dev or $RC_SVCDIR local x= no_umounts_r="/|/dev|/dev/.*|${RC_SVCDIR}" - + no_umounts_r="${no_umounts_r}|/bin|/sbin|/lib|/libexec" # RC_NO_UMOUNTS is an env var that can be set by plugins OIFS=${IFS} SIFS=${IFS-y} IFS=$IFS: -- cgit v1.2.3