Browse Source

travelmate: update 1.0.1

* corner case fix with multiple (partly disabled) radios
* LuCI: BSSID will be ignored by default in 'wireless add' dialog
* LuCI: Textarea 'autoscroll down' in logfile view
* LuCI: refine logfile search term

Signed-off-by: Dirk Brenken <dev@brenken.org>
lilik-openwrt-22.03
Dirk Brenken 7 years ago
parent
commit
84c7ebaeec
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