Browse Source

Merge pull request #17755 from moormaster/moormaster-patch-ddns-update-sample

ddns-scripts: remove extra pipe
lilik-openwrt-22.03
Florian Eckert 2 years ago
committed by GitHub
parent
commit
6cfc4baf41
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/ddns-scripts/Makefile
  2. +1
    -1
      net/ddns-scripts/samples/update_sample.sh

+ 1
- 1
net/ddns-scripts/Makefile View File

@ -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


+ 1
- 1
net/ddns-scripts/samples/update_sample.sh View File

@ -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:#')


Loading…
Cancel
Save