From b71bfa33702ac6ca0fbe63cfe9867164938a9847 Mon Sep 17 00:00:00 2001 From: Ulrich Dangel Date: Fri, 9 Dec 2011 00:16:19 +0100 Subject: [PATCH 1/1] Replace bootparameter values with x instead of VALUE --- autoconfig.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.1.4