mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Disable all ipv6 settings by default
This commit is contained in:
parent
93694b5983
commit
8f2b608c2c
1 changed files with 3 additions and 2 deletions
|
@ -2,8 +2,9 @@
|
||||||
|
|
||||||
if [ "$(uci -q get openmptcprouter.settings.disable_ipv6)" != "0" ]; then
|
if [ "$(uci -q get openmptcprouter.settings.disable_ipv6)" != "0" ]; then
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
set dhcp.lan.ra_default=1
|
delete dhcp.lan.ra_default
|
||||||
set dhcp.lan.dhcpv6=server
|
delete dhcp.lan.dhcpv6
|
||||||
|
delete dhcp.lan.ra
|
||||||
set dhcp.lan.force=1
|
set dhcp.lan.force=1
|
||||||
commit dhcp
|
commit dhcp
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue