1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-02 17:27:37 +03: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:
mbm 2006-08-08 20:15:09 +00:00
parent 2704e8224f
commit 7087aeda0d

View File

@ -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