mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fixes and set detected ip in a new uci section
This commit is contained in:
parent
8a1b59f1d2
commit
8e03e42f54
5 changed files with 50 additions and 31 deletions
|
@ -33,6 +33,12 @@ if [ "$(uci -q get openmptcprouter.vps)" != "server" ]; then
|
|||
commit openmptcprouter
|
||||
EOF
|
||||
fi
|
||||
if [ "$(uci -q get openmptcprouter.omr)" != "router" ]; then
|
||||
uci -q batch <<-EOF
|
||||
set openmptcprouter.omr=router
|
||||
commit openmptcprouter
|
||||
EOF
|
||||
fi
|
||||
if [ "$(uci -q get openmptcprouter.settings.master)" = "" ]; then
|
||||
uci -q batch <<-EOF
|
||||
set openmptcprouter.settings=settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue