Browse Source

Merge pull request #5346 from dibdot/travelmate

travelmate: update 1.0.1
lilik-openwrt-22.03
Hannu Nyman 7 years ago
committed by GitHub
parent
commit
197dd62ad3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 7 deletions
  1. +2
    -2
      net/travelmate/Makefile
  2. +2
    -5
      net/travelmate/files/travelmate.sh

+ 2
- 2
net/travelmate/Makefile View File

@ -1,12 +1,12 @@
#
# Copyright (c) 2016-2017 Dirk Brenken (dev@brenken.org)
# Copyright (c) 2016-2018 Dirk Brenken (dev@brenken.org)
# This is free software, licensed under the GNU General Public License v3.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=travelmate
PKG_VERSION:=1.0.0
PKG_VERSION:=1.0.1
PKG_RELEASE:=1
PKG_LICENSE:=GPL-3.0+
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>


+ 2
- 5
net/travelmate/files/travelmate.sh View File

@ -10,7 +10,7 @@
#
LC_ALL=C
PATH="/usr/sbin:/usr/bin:/sbin:/bin"
trm_ver="1.0.0"
trm_ver="1.0.1"
trm_sysver="unknown"
trm_enabled=0
trm_debug=0
@ -119,12 +119,9 @@ f_check()
for radio in ${trm_radiolist}
do
trm_ifstatus="$(printf "%s" "${status}" | jsonfilter -l1 -e "@.${radio}.up")"
if [ "${trm_ifstatus}" = "true" ]
if [ "${trm_ifstatus}" = "true" ] && [ -z "$(printf "%s" "${trm_devlist}" | grep -Fo " ${radio}")" ]
then
trm_devlist="${trm_devlist} ${radio}"
else
trm_devlist=""
break
fi
done
ifname="${trm_devlist}"


Loading…
Cancel
Save