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

Fix status interface and more check

This commit is contained in:
Ycarus 2018-12-17 16:59:48 +01:00
parent 9e7571b61d
commit 09c5b81aea
2 changed files with 19 additions and 6 deletions

View file

@ -39,7 +39,7 @@ if [ "$(uci -q get openmptcprouter.omr)" != "router" ]; then
commit openmptcprouter
EOF
fi
if [ "$(uci -q get openmptcprouter.settings.master)" = "" ]; then
if [ "$(uci -q get openmptcprouter.settings.master)" = "dynamic" ]; then
uci -q batch <<-EOF
set openmptcprouter.settings=settings
set openmptcprouter.settings.master='change'