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:
parent
9f2887c225
commit
121758afc6
3 changed files with 32 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue