From: Waldemar Brodkorb Date: Wed, 1 Jun 2005 13:45:05 +0000 (+0000) Subject: leases file defaults to var/misc, which does not exist X-Git-Tag: whiterussian_rc1~101 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7a3827f904f875270b6960f63eead81555797681;p=openwrt%2Fsvn-archive%2Fopenwrt.git leases file defaults to var/misc, which does not exist SVN-Revision: 1127 --- diff --git a/openwrt/target/default/target_skeleton/etc/init.d/S50dnsmasq b/openwrt/target/default/target_skeleton/etc/init.d/S50dnsmasq index 8e73b0eeec..82e013f724 100755 --- a/openwrt/target/default/target_skeleton/etc/init.d/S50dnsmasq +++ b/openwrt/target/default/target_skeleton/etc/init.d/S50dnsmasq @@ -20,6 +20,6 @@ udhcpc -n -q -R -s /dev/zero -i $ifname >&- || { end=$(nvram get dhcp_num) end=$((start+${end:-150})) - args="-K -F $(int2ip $start),$(int2ip $end),$(int2ip $netmask),12h" + args="-l /tmp/dhcp.leases -K -F $(int2ip $start),$(int2ip $end),$(int2ip $netmask),12h" } dnsmasq ${args}