From: Mike Baker Date: Tue, 8 Aug 2006 20:15:09 +0000 (+0000) Subject: fix error if dhcp is disabled X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=01c8abbeca68521435a20e8fafdadab8da11932f;p=openwrt%2Fstaging%2Fwigyori.git fix error if dhcp is disabled SVN-Revision: 4545 --- diff --git a/openwrt/package/dnsmasq/files/dnsmasq.conf b/openwrt/package/dnsmasq/files/dnsmasq.conf index 43acd85b15..8a51f8445d 100644 --- a/openwrt/package/dnsmasq/files/dnsmasq.conf +++ b/openwrt/package/dnsmasq/files/dnsmasq.conf @@ -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 # read-ethers