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:
parent
e7d3130a6f
commit
43e0d63063
3 changed files with 99 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue