aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorSeblu <seblu@seblu.net>2011-02-06 02:58:58 +0100
committerThomas Bächler <thomas@archlinux.org>2011-02-27 11:49:32 +0100
commit3d9fbd69fbab72ccdbdfda584b732636cece908c (patch)
treeda1794311f9fca7bbe762899322ba62661e4650a /rc.sysinit
parentee3385a97bef10fc20ed8c04e1b0dee0d5f0194c (diff)
downloadinitscripts-3d9fbd69fbab72ccdbdfda584b732636cece908c.tar.xz
Remove grep use where a simple env var check can be made
Diffstat (limited to 'rc.sysinit')
-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