From ed23ef1646591098226b2909db76506cc9293536 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Tue, 18 Feb 2025 07:51:53 +0800 Subject: [PATCH] luci-app-qmodem: add choice option for Quectel CM --- luci/luci-app-qmodem/Makefile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/luci/luci-app-qmodem/Makefile b/luci/luci-app-qmodem/Makefile index dbe379b..0489440 100644 --- a/luci/luci-app-qmodem/Makefile +++ b/luci/luci-app-qmodem/Makefile @@ -50,17 +50,21 @@ choice bool "Generic QMI driver" endchoice +choice + prompt "Quectel Connect Manager Selection" + default PACKAGE_luci-app-qmodem_USE_TOM_CUSTOMIZED_QUECTEL_CM + + config PACKAGE_luci-app-qmodem_USE_TOM_CUSTOMIZED_QUECTEL_CM + bool "Tom customized Quectel CM" + + config PACKAGE_luci-app-qmodem_USING_QWRT_QUECTEL_CM_5G + bool "QWRT Quectel-CM-5G" +endchoice + config PACKAGE_luci-app-qmodem_INCLUDE_ADD_PCI_SUPPORT bool "Add PCIe Modem SUPPORT" default n - config PACKAGE_luci-app-qmodem_USE_TOM_CUSTOMIZED_QUECTEL_CM - bool "Using Tom customized Quectel CM" - default y - - config PACKAGE_luci-app-qmodem_USING_QWRT_QUECTEL_CM_5G - bool "Using QWRT quectel-CM-5G" - default n endef define Package/luci-app-qmodem_with_lua_index_page