travelmate: update 1.5.3

* some init tweaks
* use the usual wifi wrapper for reloads
* compatibility fix for latest wifi-related changes
  in master (dynamic wireless radio reconfiguration)

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 05c3153bb7)
This commit is contained in:
Dirk Brenken
2019-11-18 19:28:23 +01:00
parent 58dd5a94ba
commit 6106619bde
3 changed files with 60 additions and 49 deletions
+3 -4
View File
@@ -3,16 +3,15 @@
START=25
USE_PROCD=1
EXTRA_COMMANDS="status"
EXTRA_HELP=" status Print runtime information"
trm_init="/etc/init.d/travelmate"
trm_script="/usr/bin/travelmate.sh"
trm_pidfile="/var/run/travelmate.pid"
boot()
{
ubus -t 30 wait_for network.interface network.wireless 2>/dev/null
local iface="$(uci_get travelmate global trm_iface)"
ubus -t 30 wait_for network.wireless network.interface."${iface:-"trm_wwan"}" 2>/dev/null
rc_procd start_service
}