diff options
author | Roy Marples <roy@marples.name> | 2009-04-16 23:34:38 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2009-04-16 23:34:38 +0000 |
commit | 744a8bbb4a2e2d58a2118f7796528b593905fc50 (patch) | |
tree | 625597819eae418a7d4f3e62ec885decd622deb6 /init.d/localmount.in | |
parent | ace0b9653b44582fdf24381acd23bc23ccbb3f93 (diff) | |
download | openrc-744a8bbb4a2e2d58a2118f7796528b593905fc50.tar.gz openrc-744a8bbb4a2e2d58a2118f7796528b593905fc50.tar.bz2 openrc-744a8bbb4a2e2d58a2118f7796528b593905fc50.tar.xz |
Don't unmount /bin,/sbin,/lib,/libexec in the very silly cases where they are not on /
Diffstat (limited to 'init.d/localmount.in')
-rw-r--r-- | init.d/localmount.in | 2 |
1 files changed, 1 insertions, 1 deletions
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: |