summaryrefslogtreecommitdiff
path: root/scripts/local
diff options
context:
space:
mode:
authorJeff Bailey <jbailey@ubuntu.com>2005-06-09 17:23:35 +0000
committerJeff Bailey <jbailey@ubuntu.com>2005-06-09 17:23:35 +0000
commitac222142f849ed340c3b7a0300a57cc3153e0436 (patch)
treebd18cbcc48bca8596a3af10c9e5fe8c2ca3c3509 /scripts/local
parent8cfdec86dd2e4662a09d6384ab9042d32636560d (diff)
downloadinitramfs-tools-ac222142f849ed340c3b7a0300a57cc3153e0436.tar.gz
initramfs-tools-ac222142f849ed340c3b7a0300a57cc3153e0436.zip
Add hookscripts
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
}