aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index d15e1be..cedf151 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -33,7 +33,7 @@ fi
# anything more serious than KERN_WARNING goes to the console
# 'verbose' cmdline parameter enables more messages
-if /bin/grep -q " verbose" /proc/cmdline; then
+if [[ -n "$verbose" ]]; then
/bin/dmesg -n 8
else
/bin/dmesg -n 3