From: Ulrich Dangel Date: Thu, 8 Dec 2011 23:16:19 +0000 (+0100) Subject: Replace bootparameter values with x instead of VALUE X-Git-Tag: v0.9.39~1 X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=b71bfa33702ac6ca0fbe63cfe9867164938a9847;hp=c5439016b869d64beb52adcaf406a3f34bd36992 Replace bootparameter values with x instead of VALUE --- diff --git a/autoconfig.functions b/autoconfig.functions index 43902a7..ba8a13e 100755 --- 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"