From 0701949f01f8fd1a00f63b721d621dcff7f6b20b Mon Sep 17 00:00:00 2001 From: theGreatWhiteShark Date: Sun, 23 Jun 2019 12:42:45 +0200 Subject: spDYN: remove unused IPV6 argument in spDYN.sh Signed-off-by: theGreatWhiteShark --- bin/ncp/NETWORKING/spDYN.sh | 11 +++-------- changelog.md | 4 +++- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/bin/ncp/NETWORKING/spDYN.sh b/bin/ncp/NETWORKING/spDYN.sh index 6220ae52..a9a274c2 100644 --- a/bin/ncp/NETWORKING/spDYN.sh +++ b/bin/ncp/NETWORKING/spDYN.sh @@ -31,14 +31,9 @@ install() ### Configuration HOST=$1 TOKEN=$2 -IPv6=$3 # Get current IP address from -if [[ $IPv6 == "yes" ]]; then - get_ip_url="http://checkip6.spdyn.de" -else - get_ip_url="http://checkip4.spdyn.de" -fi +get_ip_url="http://checkip.spdyn.de" update_url="https://update.spdyn.de/nic/update" @@ -100,11 +95,11 @@ configure() # Adds file to cron to run script for DNS record updates and change permissions touch $CRONFILE - echo "10 * * * * root $INSTALLPATH/spdnsUpdater.sh $DOMAIN $TOKEN $IPv6 >/dev/null 2>&1" > "$CRONFILE" + echo "10 * * * * root $INSTALLPATH/spdnsUpdater.sh $DOMAIN $TOKEN >/dev/null 2>&1" > "$CRONFILE" chmod 644 "$CRONFILE" # First-time execution of update script and print response from spdns.de server - "$INSTALLPATH"/spdnsUpdater.sh "$DOMAIN" "$TOKEN" "$IPv6" + "$INSTALLPATH"/spdnsUpdater.sh "$DOMAIN" "$TOKEN" echo -e "\nspdnsUpdater is now enabled" diff --git a/changelog.md b/changelog.md index e9573439..b7baac2a 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v1.13.2](https://github.com/nextcloud/nextcloudpi/commit/c24b3a3) (2019-06-17) nc-backup: fix exclusion of ncp backups +[v1.13.3](https://github.com/nextcloud/nextcloudpi/commit/659d768) (2019-06-23) spDYN: remove unused IPV6 argument in spDYN.sh + +[v1.13.2](https://github.com/nextcloud/nextcloudpi/commit/c392529) (2019-06-17) nc-backup: fix exclusion of ncp backups [v1.13.1 ](https://github.com/nextcloud/nextcloudpi/commit/5de855f) (2019-06-01) ncp-web: avoid quotes in fields -- cgit v1.2.3