mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user