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