aboutsummaryrefslogtreecommitdiff
path: root/functions
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 /functions
parent06b4ed7da352248c760e6a78273ffd4ca7f435d7 (diff)
downloadinitscripts-ccc777c28b7b420e3ceaaf2616c24d3241871292.tar.xz
Move mount -a into functions to allow custom override (fsck on loop)
Diffstat (limited to 'functions')
-rw-r--r--functions8
1 files changed, 8 insertions, 0 deletions
diff --git a/functions b/functions
index a02bd3b..f4435b1 100644
--- a/functions
+++ b/functions
@@ -372,6 +372,14 @@ fsck_reboot() {
exit 0
}
+mount_all() {
+ stat_busy "Mounting Local Filesystems"
+ run_hook sysinit_premount
+ mount -a -t $NETFS -O no_netdev
+ run_hook sysinit_postmount
+ stat_done
+}
+
###############################
# Custom hooks in initscripts #
###############################