File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,9 @@ install()
3131### Configuration
3232HOST=$1
3333TOKEN=$2
34- IPv6=$3
3534
3635# Get current IP address from
37- if [[ $IPv6 == "yes" ]]; then
38- get_ip_url="http://checkip6.spdyn.de"
39- else
40- get_ip_url="http://checkip4.spdyn.de"
41- fi
36+ get_ip_url="http://checkip.spdyn.de"
4237
4338update_url="https://update.spdyn.de/nic/update"
4439
@@ -100,11 +95,11 @@ configure()
10095
10196 # Adds file to cron to run script for DNS record updates and change permissions
10297 touch $CRONFILE
103- echo " 10 * * * * root $INSTALLPATH /spdnsUpdater.sh $DOMAIN $TOKEN $IPv6 >/dev/null 2>&1" > " $CRONFILE "
98+ echo " 10 * * * * root $INSTALLPATH /spdnsUpdater.sh $DOMAIN $TOKEN >/dev/null 2>&1" > " $CRONFILE "
10499 chmod 644 " $CRONFILE "
105100
106101 # First-time execution of update script and print response from spdns.de server
107- " $INSTALLPATH " /spdnsUpdater.sh " $DOMAIN " " $TOKEN " " $IPv6 "
102+ " $INSTALLPATH " /spdnsUpdater.sh " $DOMAIN " " $TOKEN "
108103
109104 echo -e " \nspdnsUpdater is now enabled"
110105
Original file line number Diff line number Diff line change 11
2- [ v1.13.2] ( https://github.com/nextcloud/nextcloudpi/commit/c24b3a3 ) (2019-06-17) nc-backup: fix exclusion of ncp backups
2+ [ v1.13.3] ( https://github.com/nextcloud/nextcloudpi/commit/659d768 ) (2019-06-23) spDYN: remove unused IPV6 argument in spDYN.sh
3+
4+ [ v1.13.2] ( https://github.com/nextcloud/nextcloudpi/commit/c392529 ) (2019-06-17) nc-backup: fix exclusion of ncp backups
35
46[ v1.13.1 ] ( https://github.com/nextcloud/nextcloudpi/commit/5de855f ) (2019-06-01) ncp-web: avoid quotes in fields
57
You can’t perform that action at this time.
0 commit comments