From 07dec08c78f92296325d3f214e804d5e28bb2ad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Herbst?= Date: Mon, 31 Jan 2022 10:46:40 +0100 Subject: [PATCH] ddns-scripts: remove extra pipe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The extra pipe caused an error WARN : PID 'xyz' exit WITH ERROR '2' when executing ddns update. Signed-off-by: André Herbst --- net/ddns-scripts/Makefile | 2 +- net/ddns-scripts/samples/update_sample.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ddns-scripts/Makefile b/net/ddns-scripts/Makefile index 873a33b1f..acd856411 100644 --- a/net/ddns-scripts/Makefile +++ b/net/ddns-scripts/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ddns-scripts PKG_VERSION:=2.8.2 -PKG_RELEASE:=22 +PKG_RELEASE:=23 PKG_LICENSE:=GPL-2.0 diff --git a/net/ddns-scripts/samples/update_sample.sh b/net/ddns-scripts/samples/update_sample.sh index 00b51cbd2..316dfa52f 100644 --- a/net/ddns-scripts/samples/update_sample.sh +++ b/net/ddns-scripts/samples/update_sample.sh @@ -24,7 +24,7 @@ local __URL="http://[USERNAME]:[PASSWORD]@update.spdns.de/nic/update?hostname=[D [ -z "$password" ] && write_log 14 "Service section not configured correctly! Missing 'password'" # do replaces in URL -__URL=$(echo $__URL | | sed -e "s#\[USERNAME\]#$URL_USER#g" -e "s#\[PASSWORD\]#$URL_PASS#g" \ +__URL=$(echo $__URL | sed -e "s#\[USERNAME\]#$URL_USER#g" -e "s#\[PASSWORD\]#$URL_PASS#g" \ -e "s#\[PARAMENC\]#$URL_PENC#g" -e "s#\[PARAMOPT\]#$param_opt#g" \ -e "s#\[DOMAIN\]#$domain#g" -e "s#\[IP\]#$__IP#g") [ $use_https -ne 0 ] && __URL=$(echo $__URL | sed -e 's#^http:#https:#')