Replace bootparameter values with x instead of VALUE
[grml-autoconfig.git] / autoconfig.functions
index 43902a7..ba8a13e 100755 (executable)
@@ -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"