Lines 34-39
start()
Link Here
|
34 |
|
34 |
|
35 |
local m="/dev|/dev/.*|/proc|/proc.*|/sys|/sys/.*|/run|${rc_svcdir}" x= fs= |
35 |
local m="/dev|/dev/.*|/proc|/proc.*|/sys|/sys/.*|/run|${rc_svcdir}" x= fs= |
36 |
m="$m|/bin|/sbin|/lib(32|64)?|/libexec" |
36 |
m="$m|/bin|/sbin|/lib(32|64)?|/libexec" |
|
|
37 |
if [ -e "$rc_svcdir"/usr_premounted ]; then |
38 |
m="$m|/usr" |
39 |
fi |
37 |
# RC_NO_UMOUNTS is an env var that can be set by plugins |
40 |
# RC_NO_UMOUNTS is an env var that can be set by plugins |
38 |
local IFS="$IFS:" |
41 |
local IFS="$IFS:" |
39 |
for x in $no_umounts $RC_NO_UMOUNTS; do |
42 |
for x in $no_umounts $RC_NO_UMOUNTS; do |