Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortheGreatWhiteShark <thetruephil@googlemail.com>2019-06-23 13:42:45 +0300
committernachoparker <nacho@ownyourbits.com>2019-06-24 05:41:58 +0300
commit0701949f01f8fd1a00f63b721d621dcff7f6b20b (patch)
treed2f050d19290fee7a18472a18def704f7cae5c32
parentc39252919f46ff5440d7539c2364d61898873438 (diff)
spDYN: remove unused IPV6 argument in spDYN.shv1.13.3
Signed-off-by: theGreatWhiteShark <thetruephil@googlemail.com>
-rw-r--r--bin/ncp/NETWORKING/spDYN.sh11
-rw-r--r--changelog.md4
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