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:
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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue