1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

IPv6 disabled by default, display server error each times

This commit is contained in:
Ycarus 2019-01-03 15:54:10 +01:00
parent 9f2887c225
commit 121758afc6
3 changed files with 32 additions and 27 deletions

View file

@ -52,4 +52,10 @@ if [ "$(uci -q get openmptcprouter.vps.port)" = "" ]; then
commit openmptcprouter
EOF
fi
if [ "$(uci -q get openmptcprouter.settings.disable_ipv6)" = "" ]; then
uci -q batch <<-EOF
set openmptcprouter.settings.disable_ipv6='1'
commit openmptcprouter
EOF
fi
exit 0