@ -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.8.0 "
trm_ver = "0.8.1 "
trm_sysver = " $( ubus -S call system board | jsonfilter -e '@.release.description' ) "
trm_sysver = " $( ubus -S call system board | jsonfilter -e '@.release.description' ) "
trm_enabled = 0
trm_enabled = 0
trm_debug = 0
trm_debug = 0
@ -32,10 +32,6 @@ else
f_log "error" "system libraries not found"
f_log "error" "system libraries not found"
fi
fi
# initial wireless recovery
#
ubus call network.wireless up
# f_envload: load travelmate environment
# f_envload: load travelmate environment
#
#
f_envload( )
f_envload( )
@ -61,13 +57,6 @@ f_envload()
f_log "info " "travelmate is currently disabled, please set 'trm_enabled' to '1' to use this service"
f_log "info " "travelmate is currently disabled, please set 'trm_enabled' to '1' to use this service"
exit 0
exit 0
fi
fi
# check for wireless tool
#
if [ -z " ${ trm_iwinfo } " ]
then
f_log "error" "no wireless tool found, please install package 'iwinfo'"
fi
}
}
# f_prepare: gather radio information & bring down all STA interfaces
# f_prepare: gather radio information & bring down all STA interfaces