summaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorjofko <joffko@gmail.com>2011-06-14 20:49:05 +0200
committerTom Gundersen <teg@jklm.no>2011-06-19 19:07:26 +0200
commit60191a3cdf4923fea04ae1fb383b9367db9227a0 (patch)
tree7fcf4c5c9561119c70f6adcd47073d5b99f5efcf /rc.sysinit
parent824567cb23ed0bab4ed4568be139ee0c75d7598d (diff)
Adding hook sysinit_postmount
In some cases is good to know when rc.sysinit is going to use /usr See FS#24712 Signed-off-by: jofko <joffko@gmail.com> [tomegun: added comment to 'functions' and changed name of hook] Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit1
1 files changed, 1 insertions, 0 deletions
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