mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
leases file defaults to var/misc, which does not exist
SVN-Revision: 1127
This commit is contained in:
parent
f9e189a014
commit
7a3827f904
@ -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 New Issue
Block a user