From ccc777c28b7b420e3ceaaf2616c24d3241871292 Mon Sep 17 00:00:00 2001 From: "Kurt J. Bosch" Date: Wed, 22 Jun 2011 12:07:46 +0200 Subject: Move mount -a into functions to allow custom override (fsck on loop) --- functions | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'functions') 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 # ############################### -- cgit v1.2.3