aboutsummaryrefslogtreecommitdiffstats
path: root/target/default/target_skeleton
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openwrt.org>2005-06-01 13:45:05 +0000
committerWaldemar Brodkorb <wbx@openwrt.org>2005-06-01 13:45:05 +0000
commitcffdb58961fe2ab54cacfc0554bc105445f14299 (patch)
treee7f641f74559f5b656c95e408ec8d9d97a5adf3e /target/default/target_skeleton
parent41571bcbf9a6dfe2764c5b0dfafe6de8f7fa8081 (diff)
downloadmaster-187ad058-cffdb58961fe2ab54cacfc0554bc105445f14299.tar.gz
master-187ad058-cffdb58961fe2ab54cacfc0554bc105445f14299.tar.bz2
master-187ad058-cffdb58961fe2ab54cacfc0554bc105445f14299.zip
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
Diffstat (limited to 'target/default/target_skeleton')
-rwxr-xr-xtarget/default/target_skeleton/etc/init.d/S50dnsmasq2
1 files changed, 1 insertions, 1 deletions
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}