4
Fork 0
This commit is contained in:
R3ABM Artem 2016-08-02 08:21:44 +04:00
parent 7acd64f276
commit 4a79416649
2 changed files with 4 additions and 4 deletions

View file

@ -9,10 +9,10 @@ fi
if [ -f /etc/config/brandmeister ] if [ -f /etc/config/brandmeister ]
then then
# Read configuration from uCI/LuCI on OpenWRT # Read configuration from uCI/LuCI on OpenWRT
REPEATER_NUMBER=$(uci get cronosagent.number) REPEATER_NUMBER=$(uci get cronosagent.@cronosagent[0].number)
REPEATER_ADDRESS=$(uci get cronosagent.repeaterAddress) REPEATER_ADDRESS=$(uci get cronosagent.@cronosagent[0].repeaterAddress)
SERVER_ADDRESS=$(uci get cronosagent.serverAddress) SERVER_ADDRESS=$(uci get cronosagent.@cronosagent[0].serverAddress)
SERVER_PASSWORD=$(uci get cronosagent.serverPassword) SERVER_PASSWORD=$(uci get cronosagent.@cronosagent[0].serverPassword)
fi fi
if [ -n "$1" ] if [ -n "$1" ]