mirror of
https://github.com/aljazceru/addons.git
synced 2026-01-31 10:45:52 +01:00
dhcp_server: Fixes crash when using FQDN as domain (#600)
This commit is contained in:
committed by
Pascal Vizeli
parent
73e4aa8cbb
commit
b572a633b9
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 1.2
|
||||
|
||||
- Fixes crash when using FQDN as domain
|
||||
|
||||
## 1.1
|
||||
|
||||
- Rewrite add-on onto Bashio
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "DHCP server",
|
||||
"version": "1.1",
|
||||
"version": "1.2",
|
||||
"slug": "dhcp_server",
|
||||
"description": "A simple DHCP server",
|
||||
"url": "https://home-assistant.io/addons/dhcp_server/",
|
||||
|
||||
@@ -13,7 +13,7 @@ DOMAIN=$(bashio::config 'domain')
|
||||
MAX_LEASE=$(bashio::config 'max_lease')
|
||||
|
||||
{
|
||||
echo "option domain-name ${DOMAIN};"
|
||||
echo "option domain-name \"${DOMAIN}\";"
|
||||
echo "option domain-name-servers ${DNS};";
|
||||
echo "default-lease-time ${DEFAULT_LEASE};"
|
||||
echo "max-lease-time ${MAX_LEASE};"
|
||||
|
||||
Reference in New Issue
Block a user