From 01c8abbeca68521435a20e8fafdadab8da11932f Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Tue, 8 Aug 2006 20:15:09 +0000 Subject: [PATCH] fix error if dhcp is disabled SVN-Revision: 4545 --- openwrt/package/dnsmasq/files/dnsmasq.conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 -- 2.25.1