leases file defaults to var/misc, which does not exist
[openwrt.git] / openwrt / target / default / target_skeleton / etc / init.d / S50dnsmasq
index 8e73b0e..82e013f 100755 (executable)
@@ -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}
This page took 0.019436 seconds and 4 git commands to generate.