summaryrefslogtreecommitdiff
path: root/scripts/local
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/local')
-rw-r--r--scripts/local6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/local b/scripts/local
index 572f185..ffbd230 100644
--- a/scripts/local
+++ b/scripts/local
@@ -3,6 +3,8 @@
# Parameter: Where to mount the filesystem
mountroot ()
{
+ run_scripts /scripts/local_top
+
# Get the root filesystem type
if [ ! -e ${ROOT} ]; then
panic "ALERT! ${ROOT} does not exist. Dropping to a shell!"
@@ -10,6 +12,10 @@ mountroot ()
eval $(fstype < ${ROOT})
+ run_scripts /scripts/local_premount
+
# Mount root
mount ${ro} -t ${FSTYPE} ${ROOT} ${rootmnt}
+
+ run_scripts /scripts/local_bottom
}