From 9235e87ac338c048ad4900d3b2c38236e4b2d464 Mon Sep 17 00:00:00 2001 From: fujr Date: Fri, 25 Oct 2024 02:49:16 +0800 Subject: [PATCH] Add support for selecting different Quectel-CM versions and Lua versions on the homepage display. --- luci/luci-app-qmodem/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/luci/luci-app-qmodem/Makefile b/luci/luci-app-qmodem/Makefile index c6fbb39..64e18ff 100644 --- a/luci/luci-app-qmodem/Makefile +++ b/luci/luci-app-qmodem/Makefile @@ -27,6 +27,7 @@ LUCI_DEPENDS:=+luci-compat \ +PACKAGE_luci-app-qmodem_USE_TOM_CUSTOMIZED_QUECTEL_CM:quectel-CM-5G-M \ +PACKAGE_luci-app-qmodem_USING_QWRT_QUECTEL_CM_5G:quectel-CM-5G \ +PACKAGE_luci-app-qmodem_USING_NORMAL_QUECTEL_CM:quectel-cm \ + +PACKAGE_luci-app-qmodem_ADD_LUA_LUCI_HOMEPAGE:luci-app-qmodem_with_lua_index_page \ +tom_modem \ +jq +bc\ +coreutils +coreutils-stat @@ -37,21 +38,25 @@ define Package/luci-app-qmodem/conffiles endef define Package/luci-app-qmodem/config + config PACKAGE_luci-app-qmodem_ADD_LUA_LUCI_HOMEPAGE + bool "Add Lua Luci Homepage" + default n + config PACKAGE_luci-app-qmodem_INCLUDE_ADD_PCI_SUPPORT - bool "Add PCI SUPPORT" + bool "Add PCIe Modem SUPPORT" default n config PACKAGE_luci-app-qmodem_USE_TOM_CUSTOMIZED_QUECTEL_CM - bool "Use Tom customized Quectel CM" + bool "Using Tom customized Quectel CM" default n config PACKAGE_luci-app-qmodem_USING_QWRT_QUECTEL_CM_5G bool "Using QWRT quectel-CM-5G" - default y if PACKAGE_quectel-CM-5G + default n config PACKAGE_luci-app-qmodem_USING_NORMAL_QUECTEL_CM bool "Using Normal quectel-cm" - default y if PACKAGE_quectel-cm + default n endef define Package/luci-app-qmodem_with_lua_index_page