Skip to content

Commit

Permalink
fix got_kernel_param in mish.sh to not match substrings
Browse files Browse the repository at this point in the history
(so far kernel parameters like systemd.log_level=debug activated Y2DEBUG)
  • Loading branch information
Thomas Fehr committed Feb 14, 2013
1 parent 5de7f9e commit 662e7a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion startup/common/misc.sh 100644 → 100755
Expand Up @@ -159,7 +159,7 @@ function got_kernel_param () {
#--------------------------------------------------
# check for kernel parameter in /proc/cmdline
# ---
grep -qi $1 < /proc/cmdline
tr " " "\n" </proc/cmdline | grep -qi "^$1$"
}

#----[ got_install_param ]----#
Expand Down

0 comments on commit 662e7a8

Please sign in to comment.