X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0ef1c1585fc01ad3bb968ab57ef169881f7cafb1..eb99a3f917003032979a71565e28da21b0780f43:/openwrt/target/default/target_skeleton/etc/init.d/S50dnsmasq diff --git a/openwrt/target/default/target_skeleton/etc/init.d/S50dnsmasq b/openwrt/target/default/target_skeleton/etc/init.d/S50dnsmasq index 8e73b0eee..82e013f72 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}