The other h

This commit is contained in:
Adam Warner 2017-07-28 16:30:03 +01:00
parent 5787895794
commit 4fb66e632f
No known key found for this signature in database
GPG key ID: 03843F6C65554B22

View file

@ -261,10 +261,10 @@ ProcessDHCPSettings() {
if [[ "${DHCP_LEASETIME}" == "0" ]]; then
leasetime="infinite"
elif [[ "${DHCP_LEASETIME}" == "" ]]; then
leasetime="24h"
leasetime="24"
change_setting "DHCP_LEASETIME" "${leasetime}"
else
leasetime="${DHCP_LEASETIME}"
leasetime="${DHCP_LEASETIME}h"
fi
# Write settings to file