aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions1
-rwxr-xr-xrc.sysinit1
2 files changed, 2 insertions, 0 deletions
diff --git a/functions b/functions
index 2ee56b4..d94a9ef 100644
--- a/functions
+++ b/functions
@@ -338,6 +338,7 @@ read_crypttab() {
# sysinit_udevsettled: after uevents have settled in rc.sysinit
# single_udevsettled: after uevents have settled in rc.single
# sysinit_premount: before local filesystems are mounted, but after root is mounted read-write in rc.sysinit
+# sysinit_postmount: after local filesystems are mounted
# shutdown_prekillall: before all processes are being killed in rc.shutdown
# single_prekillall: before all processes are being killed in rc.single
# shutdown_postkillall: after all processes have been killed in rc.shutdown
diff --git a/rc.sysinit b/rc.sysinit
index 8158f78..2158f4a 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -277,6 +277,7 @@ stat_busy "Mounting Local Filesystems"
run_hook sysinit_premount
# now mount all the local filesystems
mount -a -t $NETFS -O no_netdev
+ run_hook sysinit_postmount
stat_done
# enable monitoring of lvm2 groups, now that the filesystems are mounted rw