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

SVN-Revision: 1127
This commit is contained in:
Waldemar Brodkorb 2005-06-01 13:45:05 +00:00
parent f9e189a014
commit 7a3827f904

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}