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:
c543901
)
Replace bootparameter values with x instead of VALUE
author
Ulrich Dangel
<mru@grml.org>
Thu, 8 Dec 2011 23:16:19 +0000
(
00:16
+0100)
committer
Ulrich Dangel
<mru@grml.org>
Thu, 8 Dec 2011 23:17:17 +0000
(
00:17
+0100)
autoconfig.functions
patch
|
blob
|
history
diff --git
a/autoconfig.functions
b/autoconfig.functions
index
43902a7
..
ba8a13e
100755
(executable)
--- a/
autoconfig.functions
+++ b/
autoconfig.functions
@@
-1347,7
+1347,7
@@
config_stats() {
[ -e /etc/grml_version ] && VERSION=$(cat /etc/grml_version) || \
VERSION=$(lsb_release -d | awk -F: '{gsub(/^[ \t]+/, "", $2); print $2}')
- PARAMS="$( echo "$CMDLINE" | sed -e 's/=[^ ]*/=
VALUE
/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"
[ -z "$BOOT" ] && BOOT="local"