Firmeware Version 4.3.19 Compatible

This commit is contained in:
muelli 2024-10-01 08:16:51 +02:00 committed by GitHub
commit f3ef189b26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=blue-merle PKG_NAME:=blue-merle
PKG_VERSION:=2.0.3 PKG_VERSION:=2.0.4
PKG_RELEASE:=$(AUTORELEASE) PKG_RELEASE:=$(AUTORELEASE)
PKG_MAINTAINER:=Matthias <matthias@srlabs.de> PKG_MAINTAINER:=Matthias <matthias@srlabs.de>
@ -44,7 +44,7 @@ define Package/blue-merle/preinst
if [ -f "/tmp/sysinfo/model" ] && [ -f "/etc/glversion" ]; then if [ -f "/tmp/sysinfo/model" ] && [ -f "/etc/glversion" ]; then
echo "You have a `cat /tmp/sysinfo/model`, running firmware version `cat /etc/glversion`." echo "You have a `cat /tmp/sysinfo/model`, running firmware version `cat /etc/glversion`."
fi fi
echo "blue-merle has only been tested with GL-E750 Mudi Versions up to 4.3.17" echo "blue-merle has only been tested with GL-E750 Mudi Versions up to 4.3.19"
echo "The device or firmware version you are using have not been verified to work with blue-merle." echo "The device or firmware version you are using have not been verified to work with blue-merle."
echo -n "Would you like to continue on your own risk? (y/N): " echo -n "Would you like to continue on your own risk? (y/N): "
read answer read answer
@ -63,20 +63,7 @@ define Package/blue-merle/preinst
if grep -q "GL.iNet GL-E750" /proc/cpuinfo; then if grep -q "GL.iNet GL-E750" /proc/cpuinfo; then
GL_VERSION=$$(cat /etc/glversion) GL_VERSION=$$(cat /etc/glversion)
case $$GL_VERSION in case $$GL_VERSION in
4.3.8) 4.3.19)
echo Version $$GL_VERSION is supported but includes known vulnerabilities please update to latest version
exit 0
;;
4.3.9)
echo Version $$GL_VERSION is supported but includes known vulnerabilities please update to latest version
exit 0
;;
4.3.12)
echo Version $$GL_VERSION is supported but includes known vulnerabilities please update to latest version
exit 0
;;
4.3.17)
echo Version $$GL_VERSION is supported echo Version $$GL_VERSION is supported
exit 0 exit 0
;; ;;