1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-23 07:18:07 +00:00

stop an extra h being added to leasetime of DHCP server. We already storethe h in setupVars.conf

Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
Adam Warner 2017-07-28 16:10:13 +01:00
parent 18d0278279
commit 5787895794
No known key found for this signature in database
GPG Key ID: 03843F6C65554B22

View File

@ -264,7 +264,7 @@ ProcessDHCPSettings() {
leasetime="24h" leasetime="24h"
change_setting "DHCP_LEASETIME" "${leasetime}" change_setting "DHCP_LEASETIME" "${leasetime}"
else else
leasetime="${DHCP_LEASETIME}h" leasetime="${DHCP_LEASETIME}"
fi fi
# Write settings to file # Write settings to file