DuckDns script read config off ipv4 and ipv6 correctly (#1654)

* Omit // empty as this is done by bashio already

* Bump version number

* Update changelog
This commit is contained in:
Jonas
2020-10-29 15:06:41 +01:00
committed by GitHub
parent ff6d70dc27
commit 615f71cfd7
3 changed files with 7 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
# Changelog
## 1.12.2
- Rely on bashio to handle empty IPv4 / IPv6
## 1.12.1
- Clean up dehydrated lock file at start also if no live cert exists

View File

@@ -1,6 +1,6 @@
{
"name": "Duck DNS",
"version": "1.12.1",
"version": "1.12.2",
"slug": "duckdns",
"description": "Free Dynamic DNS (DynDNS or DDNS) service with Let's Encrypt support",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/duckdns",

View File

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