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

Add support of VPS failover to wizard

This commit is contained in:
Ycarus 2018-06-26 18:07:36 +02:00
parent e7d3130a6f
commit 43e0d63063
3 changed files with 99 additions and 15 deletions

View file

@ -4,4 +4,13 @@ uci -q batch <<-EOF
add ucitrack openmptcprouter
set ucitrack.@openmptcprouter[-1].init=openmptcprouter
commit ucitrack
EOF
EOF
if [ "$(uci -q get qos.serverin)" = "" ]; then
uci -q batch <<-EOF
set qos.serverin=classify
set qos.serverin.targer='Priority'
set qos.serverout=classify
set qos.serverout.targer='Priority'
commit qos
EOF
fi