summaryrefslogtreecommitdiff
path: root/openwrt/target/default/target_skeleton
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-01 13:45:05 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-01 13:45:05 +0000
commiteb99a3f917003032979a71565e28da21b0780f43 (patch)
tree383a589a9268000938c4abf6af9d9a604bbe5915 /openwrt/target/default/target_skeleton
parent0ef1c1585fc01ad3bb968ab57ef169881f7cafb1 (diff)
leases file defaults to var/misc, which does not exist
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1127 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/default/target_skeleton')
-rwxr-xr-xopenwrt/target/default/target_skeleton/etc/init.d/S50dnsmasq2
1 files changed, 1 insertions, 1 deletions
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}