mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Change redundant name to balancing
This commit is contained in:
parent
757609dc4f
commit
a50de01f56
2 changed files with 7 additions and 2 deletions
|
@ -49,11 +49,16 @@ if [ "$(uci -q get openmptcprouter.omr)" != "router" ]; then
|
|||
fi
|
||||
if [ "$(uci -q get openmptcprouter.settings.master)" = "dynamic" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set openmptcprouter.settings=settings
|
||||
set openmptcprouter.settings.master='change'
|
||||
commit openmptcprouter
|
||||
EOF
|
||||
fi
|
||||
if [ "$(uci -q get openmptcprouter.settings.master)" = "redundant" ] || [ "$(uci -q get openmptcprouter.settings.master)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set openmptcprouter.settings.master='balancing'
|
||||
commit openmptcprouter
|
||||
EOF
|
||||
fi
|
||||
if [ "$(uci -q get openmptcprouter.vps.port)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set openmptcprouter.vps.port='65500'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue