summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions4
-rw-r--r--scripts/local2
2 files changed, 5 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index 8cf6ddc..96a5577 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -161,6 +161,10 @@ call_scripts()
{
for cs_x in ${runlist}; do
${initdir}/${cs_x}
+ # allow boot scripts to modify exported boot paramaters
+ if [ -e /conf/param.conf ]; then
+ . /conf/param.conf
+ fi
done
}
diff --git a/scripts/local b/scripts/local
index dd5924d..25aca70 100644
--- a/scripts/local
+++ b/scripts/local
@@ -53,7 +53,7 @@ mountroot ()
# FIXME This has no error checking
# Mount root
- mount ${roflag} -t ${FSTYPE} ${ROOT} ${rootmnt}
+ mount ${roflag} -t ${FSTYPE} ${ROOTFLAGS} ${ROOT} ${rootmnt}
[ "$quiet" != "y" ] && log_begin_msg "Running /scripts/log-bottom"
run_scripts /scripts/local-bottom