ddns-scripts: Fix for domains with dash
Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
(cherry picked from commit 9e2aad3fde
)
This commit is contained in:
parent
12cd693294
commit
99f838dd6d
2 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=ddns-scripts
|
PKG_NAME:=ddns-scripts
|
||||||
PKG_VERSION:=2.8.2
|
PKG_VERSION:=2.8.2
|
||||||
PKG_RELEASE:=8
|
PKG_RELEASE:=9
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-2.0
|
PKG_LICENSE:=GPL-2.0
|
||||||
|
|
||||||
|
|
|
@ -70,11 +70,11 @@ IPV6_REGEX="\(\([0-9A-Fa-f]\{1,4\}:\)\{1,\}\)\(\([0-9A-Fa-f]\{1,4\}\)\{0,1\}\)\(
|
||||||
# characters that are dangerous to pass to a shell command line
|
# characters that are dangerous to pass to a shell command line
|
||||||
SHELL_ESCAPE="[\"\'\`\$\!();><{}?|\[\]\*\\\\]"
|
SHELL_ESCAPE="[\"\'\`\$\!();><{}?|\[\]\*\\\\]"
|
||||||
|
|
||||||
# dns character set
|
# dns character set. "-" must be the last character
|
||||||
DNS_CHARSET="[@a-zA-Z0-9._-]"
|
DNS_CHARSET="[@a-zA-Z0-9._-]"
|
||||||
|
|
||||||
# domains can have * for wildcard
|
# domains can have * for wildcard. "-" must be the last character
|
||||||
DNS_CHARSET_DOMAIN="[@a-zA-Z0-9._-*]"
|
DNS_CHARSET_DOMAIN="[@a-zA-Z0-9._*-]"
|
||||||
|
|
||||||
# detect if called by ddns-lucihelper.sh script, disable retrys (empty variable == false)
|
# detect if called by ddns-lucihelper.sh script, disable retrys (empty variable == false)
|
||||||
LUCI_HELPER=$(printf %s "$MYPROG" | grep -i "luci")
|
LUCI_HELPER=$(printf %s "$MYPROG" | grep -i "luci")
|
||||||
|
|
Loading…
Reference in a new issue