projects
/
grml-autoconfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Get always the right boot parameter
[grml-autoconfig.git]
/
autoconfig.functions
diff --git
a/autoconfig.functions
b/autoconfig.functions
index
a9aeca8
..
7af51eb
100755
(executable)
--- 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