Browse Source

Merge pull request #4552 from dibdot/travelmate

travelmate: update 0.8.1
lilik-openwrt-22.03
Hannu Nyman 7 years ago
committed by GitHub
parent
commit
52bdd1fb6a
3 changed files with 3 additions and 14 deletions
  1. +1
    -1
      net/travelmate/Makefile
  2. +1
    -1
      net/travelmate/files/travelmate.init
  3. +1
    -12
      net/travelmate/files/travelmate.sh

+ 1
- 1
net/travelmate/Makefile View File

@ -6,7 +6,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=travelmate
PKG_VERSION:=0.8.0
PKG_VERSION:=0.8.1
PKG_RELEASE:=1
PKG_LICENSE:=GPL-3.0+
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>


+ 1
- 1
net/travelmate/files/travelmate.init View File

@ -11,7 +11,7 @@ trm_script="/usr/bin/travelmate.sh"
boot()
{
ubus -t 30 wait_for network.interface 2>/dev/null
ubus -t 30 wait_for network.interface network.wireless hostapd.wlan0 2>/dev/null
rc_procd start_service
}


+ 1
- 12
net/travelmate/files/travelmate.sh View File

@ -10,7 +10,7 @@
#
LC_ALL=C
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_enabled=0
trm_debug=0
@ -32,10 +32,6 @@ else
f_log "error" "system libraries not found"
fi
# initial wireless recovery
#
ubus call network.wireless up
# f_envload: load travelmate environment
#
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"
exit 0
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


Loading…
Cancel
Save