Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
f18m committed Nov 28, 2024
1 parent 1798adf commit 1d87d79
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rootfs/usr/share/tempio/dnsmasq.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ user=root
# DNS config
#

{{ if ! .dns_server.enable }}
{{ if not .dns_server.enable }}
# port=0 disables dnsmasq's DNS server functionality.
port=0
{{ end }}
Expand Down
19 changes: 16 additions & 3 deletions translations/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ configuration:
description: This can be given in seconds, minutes (m) or hours (h) or you can use 'infinite'.

network:
name: Local Area Network settings
name: Local Area Network Settings
description: Contains the definition of the network where the DHCP server will be listening
dhcp_range:
name: DHCP Server IP Pool
description: Defines the range of IP addresses to be served dynamically to the clients

dns_server:
name: DNS Server Settings
description: Enables the possibility to use dnsmasq as a local DNS resolver

# FIXME: somehow the below syntax does not work
# network:
# broadcast:
Expand All @@ -40,7 +44,7 @@ configuration:
# name: DHCP End IP address
# description: The last IP address of the DHCP range that defines the DHCP address pool.
ip_address_reservations:
name: IP Address Reservations
name: DHCP IP Address Reservations
description: List of MAC addresses / IP addresses pairs that are reserved. Strict regex validation is performed on MAC addresses and hostnames (use alphanumeric chars plus dot or hyphens only).
dhcp_clients_friendly_names:
name: DHCP Clients Friendly Names
Expand All @@ -54,4 +58,13 @@ configuration:
description: Log all HTTP requests served by the add-on UI
web_ui_port:
name: Web UI Port
description: Port used by the internal HTTP server. Change only if you get a conflict on the default port.
description: Port used by the internal HTTP server. Change only if you get a conflict on the default port.

reset_dhcp_lease_database_on_reboot:
name: Reset DHCP Lease Database On Reboot
description: |
The addon can detect whether the server which is running the addon has just rebooted;
if that's the case and the following flag is set to "true", then the DHCP lease database
is reset before starting the DHCP server; this is useful in case a loss of power of the
HomeAssistant server means also a loss of power of several/all DHCP clients. In such a case
the old DHCP lease database is not useful and actually misleading.

0 comments on commit 1d87d79

Please sign in to comment.