1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 18:41:51 +00:00

Force dhcp on LAN interface

This commit is contained in:
Ycarus (Yannick Chabanois) 2022-11-28 20:15:28 +01:00
parent 8dba67311a
commit 77afcb8d32

View file

@ -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