Lines 5-11
run() {
Link Here
|
5 |
local mp |
5 |
local mp |
6 |
|
6 |
|
7 |
# Move filesystems to real root |
7 |
# Move filesystems to real root |
8 |
for mp in dev run ${EXPORT_FS-}; do |
8 |
for mp in dev ${EXPORT_FS-}; do |
9 |
if [ -d "$rootmnt/$mp" ]; then |
9 |
if [ -d "$rootmnt/$mp" ]; then |
10 |
mount --move ${DEBUG:+-v} "/$mp" "$rootmnt/$mp" |
10 |
mount --move ${DEBUG:+-v} "/$mp" "$rootmnt/$mp" |
11 |
else |
11 |
else |
Lines 13-19
run() {
Link Here
|
13 |
fi |
13 |
fi |
14 |
done |
14 |
done |
15 |
|
15 |
|
16 |
for mp in ${UMOUNT_FS-} sys proc; do |
16 |
for mp in ${UMOUNT_FS-} run sys proc; do |
17 |
umount ${DEBUG:+-v} "/$mp" |
17 |
umount ${DEBUG:+-v} "/$mp" |
18 |
done |
18 |
done |
19 |
} |
19 |
} |