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

Disable all ipv6 settings by default

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-12-09 14:59:23 +01:00
parent 93694b5983
commit 8f2b608c2c

View file

@ -2,8 +2,9 @@
if [ "$(uci -q get openmptcprouter.settings.disable_ipv6)" != "0" ]; then
uci -q batch <<-EOF >/dev/null
set dhcp.lan.ra_default=1
set dhcp.lan.dhcpv6=server
delete dhcp.lan.ra_default
delete dhcp.lan.dhcpv6
delete dhcp.lan.ra
set dhcp.lan.force=1
commit dhcp
EOF