leases file defaults to var/misc, which does not exist
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Wed, 1 Jun 2005 13:45:05 +0000 (13:45 +0000)
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Wed, 1 Jun 2005 13:45:05 +0000 (13:45 +0000)
SVN-Revision: 1127

openwrt/target/default/target_skeleton/etc/init.d/S50dnsmasq

index 8e73b0eeec2d4c75c7e9aa81017d2d604275ba7a..82e013f724cf6b6fbfb5f4edbc6f981e97f664f4 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}