localmount: make OIFS and CIFS local in stop function
X-Gentoo-Bug: 371141 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=371141
This commit is contained in:
parent
013e7fb9fc
commit
2050e67911
@ -37,7 +37,7 @@ stop()
|
|||||||
local x= no_umounts_r="/|/dev|/dev/.*|${RC_SVCDIR}"
|
local x= no_umounts_r="/|/dev|/dev/.*|${RC_SVCDIR}"
|
||||||
no_umounts_r="${no_umounts_r}|/bin|/sbin|/lib|/libexec"
|
no_umounts_r="${no_umounts_r}|/bin|/sbin|/lib|/libexec"
|
||||||
# RC_NO_UMOUNTS is an env var that can be set by plugins
|
# RC_NO_UMOUNTS is an env var that can be set by plugins
|
||||||
OIFS=$IFS SIFS=${IFS-y}
|
local OIFS=$IFS SIFS=${IFS-y}
|
||||||
IFS=$IFS:
|
IFS=$IFS:
|
||||||
for x in $no_umounts $RC_NO_UMOUNTS; do
|
for x in $no_umounts $RC_NO_UMOUNTS; do
|
||||||
no_umounts_r="$no_umounts_r|$x"
|
no_umounts_r="$no_umounts_r|$x"
|
||||||
|
Loading…
Reference in New Issue
Block a user