aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorKurt J. Bosch <kjb-temp-2009@alpenjodel.de>2011-06-22 12:07:46 +0200
committerTom Gundersen <teg@jklm.no>2011-06-22 23:17:46 +0200
commitccc777c28b7b420e3ceaaf2616c24d3241871292 (patch)
tree971cf22b342498e391cb4ee768fdf4127644f790 /rc.sysinit
parent06b4ed7da352248c760e6a78273ffd4ca7f435d7 (diff)
downloadinitscripts-ccc777c28b7b420e3ceaaf2616c24d3241871292.tar.xz
Move mount -a into functions to allow custom override (fsck on loop)
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit7
1 files changed, 2 insertions, 5 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 5af74a1..7bcd0a5 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -216,7 +216,7 @@ if [[ -x $(type -P fsck) ]]; then
fsck_reboot $?
fi
-stat_busy "Mounting Local Filesystems"
+status "Remounting Root Read/Write" \
mount -n -o remount,rw /
# don't touch /etc/mtab if it is a symlink to /proc/self/mounts
@@ -228,11 +228,8 @@ stat_busy "Mounting Local Filesystems"
cat /proc/mounts >| /etc/mtab
fi
- run_hook sysinit_premount
# now mount all the local filesystems
- mount -a -t $NETFS -O no_netdev
- run_hook sysinit_postmount
-stat_done
+mount_all
# enable monitoring of lvm2 groups, now that the filesystems are mounted rw
if [[ $USELVM = [Yy][Ee][Ss] && -x $(type -P lvm) && -d /sys/block ]]; then