leases file defaults to var/misc, which does not exist
SVN-Revision: 1127
This commit is contained in:
parent
f9e189a014
commit
7a3827f904
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue