Skip to content

Commit

Permalink
Up to 1.0.6-20082021
Browse files Browse the repository at this point in the history
  • Loading branch information
4IceG authored Aug 20, 2021
1 parent 6102782 commit ea955ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion luci-app-3ginfo-lite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PKG_NAME:=luci-app-3ginfo-lite
LUCI_TITLE:=LuCI panel for 3ginfo-lite
LUCI_PKGARCH:=all
LUCI_DEPENDS:=+sms-tool
PKG_VERSION:=1.0.6-18082021
PKG_VERSION:=1.0.6-20082021
PKG_RELEASE:=1

include $(TOPDIR)/feeds/luci/luci.mk
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Huawei Hilink

#!/bin/sh

IP=$1
Expand Down Expand Up @@ -138,8 +136,7 @@ else
class=$(getvalue device-basic_information classify)
[ -n "$MODEL" ] && "MODEL=Huawei $MODEL ($class)"
fi
if echo "$MODEL" | grep -q "E57"
then
if (( echo "$MODEL" | grep -q "E57" )) || (( echo "$MODEL" | grep -q "e57" )); then
CLA=$(getvalue device-information Classify)
CLB=$(getvalue device-basic_information classify)
MODEL="Huawei $MODEL"
Expand All @@ -158,8 +155,7 @@ if [ -n "$FW" ]; then
fi
if [ -z "$FW" ]
then
if echo "$MODEL" | grep -q "E57"
then
if (( echo "$MODEL" | grep -q "E57" )) || (( echo "$MODEL" | grep -q "e57" )); then
OF=$(sms_tool -d /dev/ttyUSB0 at "ati")
DEV2=$(echo $OF | tr -s "\n" | xargs)
FW=$(echo $DEV2 | awk -F 'Revision:|IMEI' '{print $2}'| xargs)
Expand Down

0 comments on commit ea955ba

Please sign in to comment.