Add support for selecting different Quectel-CM versions and Lua versions on the homepage display.

This commit is contained in:
fujr 2024-10-25 02:49:16 +08:00
parent 01f9e8dde2
commit 9235e87ac3

View File

@ -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