From b258e40d286efcfb29b32f02a02c4826e681c1e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Wabik?= <4rafal@gmail.com> Date: Mon, 4 Dec 2023 11:11:54 +0100 Subject: [PATCH] Reverted changes for HiLink modems. --- luci-app-3ginfo-lite/Makefile | 2 +- luci-app-3ginfo-lite/root/usr/share/3ginfo-lite/3ginfo.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/luci-app-3ginfo-lite/Makefile b/luci-app-3ginfo-lite/Makefile index e0f0a767..4e9bbd70 100644 --- a/luci-app-3ginfo-lite/Makefile +++ b/luci-app-3ginfo-lite/Makefile @@ -12,7 +12,7 @@ MAINTAINER:=RafaƂ Wabik <4Rafal@gmail.com> LUCI_DESCRIPTION:=LuCI JS interface for the 3ginfo-lite. The package allows you to view the parameters of the mobile internet connection. LUCI_DEPENDS:=+sms-tool +comgt +kmod-usb-serial-option LUCI_PKGARCH:=all -PKG_VERSION:=1.0.59-20231203 +PKG_VERSION:=1.0.60-20231204 include $(TOPDIR)/feeds/luci/luci.mk diff --git a/luci-app-3ginfo-lite/root/usr/share/3ginfo-lite/3ginfo.sh b/luci-app-3ginfo-lite/root/usr/share/3ginfo-lite/3ginfo.sh index be23853c..b53593bf 100644 --- a/luci-app-3ginfo-lite/root/usr/share/3ginfo-lite/3ginfo.sh +++ b/luci-app-3ginfo-lite/root/usr/share/3ginfo-lite/3ginfo.sh @@ -331,7 +331,7 @@ else fi CONF_DEVICE=$(uci -q get 3ginfo.@3ginfo[0].device) -if echo "x$CONF_DEVICE" | grep -qE '^([0-9]{1,3}\.){3}[0-9]{1,3}$'; then +if echo "x$CONF_DEVICE" | grep -q "192.168."; then if grep -q "Vendor=1bbb" /sys/kernel/debug/usb/devices; then . $RES/hilink/alcatel_hilink.sh $DEVICE fi