travelmate: maintenance update 0.7.4

* always update the connection status, even in case of an error
* merge multiple ubus network calls in central check routine

Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
Dirk Brenken
2017-05-17 21:24:07 +02:00
parent b059c59d86
commit bf6636517a
3 changed files with 12 additions and 11 deletions
+1 -4
View File
@@ -32,10 +32,7 @@ stop_service()
local rtfile="$(uci -q get travelmate.global.trm_rtfile)"
rtfile="${rtfile:="/tmp/trm_runtime.json"}"
if [ -s "${rtfile}" ]
then
> "${rtfile}"
fi
> "${rtfile}"
rc_procd start_service
}