From a7664bf192678ea5f7712a47a421f1ec34519283 Mon Sep 17 00:00:00 2001 From: wbx Date: Wed, 1 Jun 2005 13:45:05 +0000 Subject: leases file defaults to var/misc, which does not exist git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1127 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/default/target_skeleton/etc/init.d/S50dnsmasq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target') diff --git a/target/default/target_skeleton/etc/init.d/S50dnsmasq b/target/default/target_skeleton/etc/init.d/S50dnsmasq index 8e73b0eeec..82e013f724 100755 --- a/target/default/target_skeleton/etc/init.d/S50dnsmasq +++ b/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} -- cgit v1.2.3