projects
/
grml-autoconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ba5e2c6
)
Split patterns for grep in config_stats.
author
Ulrich Dangel
<mru@grml.org>
Fri, 9 Dec 2011 23:25:46 +0000
(
00:25
+0100)
committer
Ulrich Dangel
<mru@grml.org>
Fri, 9 Dec 2011 23:26:29 +0000
(
00:26
+0100)
autoconfig.functions
patch
|
blob
|
history
diff --git
a/autoconfig.functions
b/autoconfig.functions
index
ba8a13e
..
a0e6f17
100755
(executable)
--- a/
autoconfig.functions
+++ b/
autoconfig.functions
@@
-1349,7
+1349,7
@@
config_stats() {
PARAMS="$( echo "$CMDLINE" | sed -e 's/=[^ ]*/=x/g' | tr " " "\n"|sort|tr "\n" " " )"
PARAMS="$( echo "$CMDLINE" | sed -e 's/=[^ ]*/=x/g' | tr " " "\n"|sort|tr "\n" " " )"
- echo "$CMDLINE" | grep -q -e "fetch
|
nfsroot" && BOOT="remote"
+ echo "$CMDLINE" | grep -q -e "fetch
" -e "
nfsroot" && BOOT="remote"
[ -z "$BOOT" ] && BOOT="local"
ADDITIONAL_PARAMS=""
[ -z "$BOOT" ] && BOOT="local"
ADDITIONAL_PARAMS=""