fix error if dhcp is disabled
SVN-Revision: 4545
This commit is contained in:
parent
f30ce66b43
commit
01c8abbeca
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user