Skip to content
Snippets Groups Projects
Commit 01c8abbe authored by Mike Baker's avatar Mike Baker
Browse files

fix error if dhcp is disabled

SVN-Revision: 4545
parent f30ce66b
No related branches found
No related tags found
No related merge requests found
......@@ -12,15 +12,13 @@ resolv-file=/tmp/resolv.conf
@ifdef dhcp_enable
dhcp-range=@@start@@,@@end@@,@@netmask@@,@@lease@@
dhcp-authoritative
dhcp-leasefile=/tmp/dhcp.leases
@endif
@ifdef wan_ifname
except-interface=@@wan_ifname@@
@endif
# enable dhcp (start,end,netmask,leasetime)
dhcp-authoritative
dhcp-leasefile=/tmp/dhcp.leases
# use /etc/ethers for static hosts; same format as --dhcp-host
# <hwaddr> <ipaddr>
read-ethers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment