leases file defaults to var/misc, which does not exist

SVN-Revision: 1127
lede-17.01
Waldemar Brodkorb 2005-06-01 13:45:05 +00:00
parent f9e189a014
commit 7a3827f904
1 changed files with 1 additions and 1 deletions

View File

@ -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}