mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-26 22:31:06 +02:00
fix error if dhcp is disabled
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4545 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2704e8224f
commit
7087aeda0d
@ -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…
x
Reference in New Issue
Block a user