From 954b3c71a4c6feea7631235857a17595534d5d32 Mon Sep 17 00:00:00 2001 From: Didgeridoohan Date: Wed, 26 Feb 2020 23:13:31 +0100 Subject: [PATCH] Another small fix --- common/util_functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/util_functions.sh b/common/util_functions.sh index f62f29d..ab15a2f 100644 --- a/common/util_functions.sh +++ b/common/util_functions.sh @@ -245,6 +245,7 @@ cat cp cut grep +head id mv printf @@ -1968,7 +1969,7 @@ export_settings() { # Create export directory mkdir -pv $EXPORTPATH >> $LOGFILE 2>&1 # Create file and Delete instructions - sed -n '1,59p' $MODPATH/common/propsconf_conf > $EXPORTFILE >> $LOGFILE 2>&1 + head -n 59 $MODPATH/common/propsconf_conf > $EXPORTFILE >> $LOGFILE 2>&1 # Export settings replace_fn CONFFINGERPRINT "\"\"" "\"$MODULEFINGERPRINT\"" $EXPORTFILE replace_fn CONFVENDPRINT false $([ $PRINTEDIT == 0 ] && echo "false" || echo "true") $EXPORTFILE