mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Force dhcp on LAN interface
This commit is contained in:
parent
8dba67311a
commit
77afcb8d32
1 changed files with 2 additions and 0 deletions
|
@ -167,6 +167,7 @@ set network.lan.metric=2048
|
||||||
set network.lan.ipv6=0
|
set network.lan.ipv6=0
|
||||||
set network.lan.delegate=0
|
set network.lan.delegate=0
|
||||||
set network.lan.addlatency=0
|
set network.lan.addlatency=0
|
||||||
|
set dhcp.lan.dhcpv4='server'
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
uci -q batch <<-EOF
|
uci -q batch <<-EOF
|
||||||
|
@ -405,5 +406,6 @@ fi
|
||||||
|
|
||||||
uci -q commit macvlan
|
uci -q commit macvlan
|
||||||
uci -q commit network
|
uci -q commit network
|
||||||
|
uci -q commit dhcp
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue