Fix duckdns (#642)

This commit is contained in:
Pascal Vizeli
2019-07-28 17:04:12 +02:00
committed by GitHub
parent 93e9728ccf
commit 4078eaf018
3 changed files with 8 additions and 4 deletions

View File

@@ -1,5 +1,9 @@
# Changelog
## 1.9
- Fix issue with empty IPv4 / IPv6
## 1.8
- Update dehydrated to 0.6.5

View File

@@ -1,6 +1,6 @@
{
"name": "Duck DNS",
"version": "1.8",
"version": "1.9",
"slug": "duckdns",
"description": "Free Dynamic DNS (DynDNS or DDNS) service with Let's Encrypt support",
"url": "https://www.home-assistant.io/addons/duckdns/",

View File

@@ -7,10 +7,10 @@ WORK_DIR=/data/workdir
LE_UPDATE="0"
# DuckDNS
IPV4=$(bashio::config 'ipv4')
IPV6=$(bashio::config 'ipv6')
IPV4=$(bashio::config 'ipv4 // empty')
IPV6=$(bashio::config 'ipv6 // empty')
TOKEN=$(bashio::config 'token')
DOMAINS=$(bashio::config 'domains|join(",")')
DOMAINS=$(bashio::config 'domains | join(",")')
WAIT_TIME=$(bashio::config 'seconds')
# Function that performe a renew