From cd5f482d90486c624d2dcf33fcf413dd1697fc51 Mon Sep 17 00:00:00 2001 From: Ulrich Dangel Date: Thu, 12 Feb 2009 17:21:46 +0100 Subject: [PATCH] Get always the right boot parameter --- autoconfig.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoconfig.functions b/autoconfig.functions index a9aeca8..7af51eb 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -49,7 +49,7 @@ stringinstring(){ # Reread boot command line; echo last parameter's argument or return false. getbootparam(){ stringinstring " $1=" "$CMDLINE" || return 1 - result="${CMDLINE##*$1=}" + result="${CMDLINE##* $1=}" result="${result%%[ ]*}" echo "$result" return 0 -- 2.1.4