|
@ -10,7 +10,7 @@ |
|
|
# |
|
|
# |
|
|
LC_ALL=C |
|
|
LC_ALL=C |
|
|
PATH="/usr/sbin:/usr/bin:/sbin:/bin" |
|
|
PATH="/usr/sbin:/usr/bin:/sbin:/bin" |
|
|
trm_ver="0.4.1" |
|
|
|
|
|
|
|
|
trm_ver="0.4.1-2" |
|
|
trm_sysver="$(ubus -S call system board | jsonfilter -e '@.release.description')" |
|
|
trm_sysver="$(ubus -S call system board | jsonfilter -e '@.release.description')" |
|
|
trm_enabled=1 |
|
|
trm_enabled=1 |
|
|
trm_debug=0 |
|
|
trm_debug=0 |
|
@ -166,7 +166,6 @@ f_main() |
|
|
f_check "initial" |
|
|
f_check "initial" |
|
|
if [ "${trm_ifstatus}" != "true" ] |
|
|
if [ "${trm_ifstatus}" != "true" ] |
|
|
then |
|
|
then |
|
|
f_log "info " "start travelmate scanning ..." |
|
|
|
|
|
config_load wireless |
|
|
config_load wireless |
|
|
config_foreach f_prepare wifi-iface |
|
|
config_foreach f_prepare wifi-iface |
|
|
if [ -n "$(uci -q changes wireless)" ] |
|
|
if [ -n "$(uci -q changes wireless)" ] |
|
@ -233,7 +232,6 @@ f_main() |
|
|
sleep 5 |
|
|
sleep 5 |
|
|
done |
|
|
done |
|
|
done |
|
|
done |
|
|
f_log "info " "no wwan uplink found (${trm_sysver})" |
|
|
|
|
|
fi |
|
|
fi |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|