mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
travelmate: release 0.4.0
* add an "active mode", where travelmate will be restarted
every n seconds (default 60) and checks existing uplink connection
regardless of ifdown event trigger (disabled by default)
* enhance multiple radio support
* fix the ap detection
* respect different radios during scanning & connection handling
* cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
@@ -11,7 +11,6 @@ start_service()
|
||||
then
|
||||
ubus -t 30 wait_for network.interface
|
||||
procd_open_instance "travelmate"
|
||||
procd_set_param env trm_procd="true"
|
||||
procd_set_param command "${trm_script}" "${@}"
|
||||
procd_set_param stdout 1
|
||||
procd_set_param stderr 1
|
||||
@@ -23,8 +22,6 @@ service_triggers()
|
||||
{
|
||||
local iface="$(uci -q get travelmate.global.trm_iface)"
|
||||
|
||||
procd_open_trigger
|
||||
procd_add_config_trigger "config.change" "travelmate" /etc/init.d/travelmate start
|
||||
if [ -z "${iface}" ]
|
||||
then
|
||||
procd_add_raw_trigger "interface.*.down" 1000 /etc/init.d/travelmate start
|
||||
@@ -34,5 +31,5 @@ service_triggers()
|
||||
procd_add_interface_trigger "interface.*.down" "${name}" /etc/init.d/travelmate start
|
||||
done
|
||||
fi
|
||||
procd_close_trigger
|
||||
procd_add_config_trigger "config.change" "travelmate" /etc/init.d/travelmate start
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user