diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2005-06-01 13:45:05 +0000 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2005-06-01 13:45:05 +0000 |
commit | 7a3827f904f875270b6960f63eead81555797681 (patch) | |
tree | 383a589a9268000938c4abf6af9d9a604bbe5915 | |
parent | f9e189a014ab0a77c9f176b99eb34c53ba2ab66b (diff) | |
download | mtk-20170518-7a3827f904f875270b6960f63eead81555797681.zip mtk-20170518-7a3827f904f875270b6960f63eead81555797681.tar.gz mtk-20170518-7a3827f904f875270b6960f63eead81555797681.tar.bz2 |
leases file defaults to var/misc, which does not exist
SVN-Revision: 1127
-rwxr-xr-x | openwrt/target/default/target_skeleton/etc/init.d/S50dnsmasq | 2 |
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 8e73b0e..82e013f 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} |