mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
fix error if dhcp is disabled
SVN-Revision: 4545
This commit is contained in:
parent
f30ce66b43
commit
01c8abbeca
@ -12,15 +12,13 @@ resolv-file=/tmp/resolv.conf
|
|||||||
|
|
||||||
@ifdef dhcp_enable
|
@ifdef dhcp_enable
|
||||||
dhcp-range=@@start@@,@@end@@,@@netmask@@,@@lease@@
|
dhcp-range=@@start@@,@@end@@,@@netmask@@,@@lease@@
|
||||||
|
dhcp-authoritative
|
||||||
|
dhcp-leasefile=/tmp/dhcp.leases
|
||||||
@endif
|
@endif
|
||||||
@ifdef wan_ifname
|
@ifdef wan_ifname
|
||||||
except-interface=@@wan_ifname@@
|
except-interface=@@wan_ifname@@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
# enable dhcp (start,end,netmask,leasetime)
|
|
||||||
dhcp-authoritative
|
|
||||||
dhcp-leasefile=/tmp/dhcp.leases
|
|
||||||
|
|
||||||
# use /etc/ethers for static hosts; same format as --dhcp-host
|
# use /etc/ethers for static hosts; same format as --dhcp-host
|
||||||
# <hwaddr> <ipaddr>
|
# <hwaddr> <ipaddr>
|
||||||
read-ethers
|
read-ethers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user