summaryrefslogtreecommitdiff
path: root/scripts/local
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/local')
-rw-r--r--scripts/local12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/local b/scripts/local
index 539a2a4..aa2cbfb 100644
--- a/scripts/local
+++ b/scripts/local
@@ -3,9 +3,9 @@
# Parameter: Where to mount the filesystem
mountroot ()
{
- log_begin_msg "Running /scripts/local-top"
+ [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-top"
run_scripts /scripts/local-top
- log_end_msg
+ [ "$quiet" != "y" ] && log_end_msg
# Get the root filesystem type
if [ ! -e "${ROOT}" ]; then
@@ -14,9 +14,9 @@ mountroot ()
eval $(fstype < ${ROOT})
- log_begin_msg "Running /scripts/local-premount"
+ [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-premount"
run_scripts /scripts/local-premount
- log_end_msg
+ [ "$quiet" != "y" ] && log_end_msg
if [ ${readonly} = y ]; then
roflag=-r
@@ -31,7 +31,7 @@ mountroot ()
# Mount root
mount ${roflag} -t ${FSTYPE} ${ROOT} ${rootmnt}
- log_begin_msg "Running /scripts/log-bottom"
+ [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/log-bottom"
run_scripts /scripts/local-bottom
- log_end_msg
+ [ "$quiet" != "y" ] && log_end_msg
}