mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +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.delegate=0
|
||||
set network.lan.addlatency=0
|
||||
set dhcp.lan.dhcpv4='server'
|
||||
EOF
|
||||
|
||||
uci -q batch <<-EOF
|
||||
|
@ -405,5 +406,6 @@ fi
|
|||
|
||||
uci -q commit macvlan
|
||||
uci -q commit network
|
||||
uci -q commit dhcp
|
||||
rm -f /tmp/luci-indexcache
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue