mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
travelmate: update 2.0.2
* fix a vpn/iptables race condition * remove needless dnsmasq dependency * synchronize code-base of all auto-login scripts, due to COVID-19 restrictions all of them are still untested/WIP * various small cleanups Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
# set (s)hellcheck exceptions
|
||||
# shellcheck disable=1091,2016,2039,2059,2086,2143,2181,2188
|
||||
# shellcheck disable=1091,2016,2034,2039,2059,2086,2143,2181,2188
|
||||
|
||||
START=25
|
||||
USE_PROCD=1
|
||||
@@ -25,7 +25,7 @@ boot()
|
||||
|
||||
start_service()
|
||||
{
|
||||
if [ "$("${trm_init}" enabled; printf "%u" ${?})" -eq "0" ]
|
||||
if [ "$("${trm_init}" enabled; printf "%u" ${?})" = "0" ]
|
||||
then
|
||||
procd_open_instance "travelmate"
|
||||
procd_set_param command "${trm_script}" "${@}"
|
||||
@@ -69,7 +69,7 @@ status_service()
|
||||
rtfile="$(uci_get travelmate global trm_rtfile "/tmp/trm_runtime.json")"
|
||||
json_load_file "${rtfile}" >/dev/null 2>&1
|
||||
json_select data >/dev/null 2>&1
|
||||
if [ ${?} -eq 0 ]
|
||||
if [ "${?}" = "0" ]
|
||||
then
|
||||
printf "%s\n" "::: travelmate runtime information"
|
||||
json_get_keys keylist
|
||||
|
||||
Reference in New Issue
Block a user