From 27c51841cd094983e4ce0e3add07fe3133cd3669 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Fri, 14 Feb 2025 15:18:21 +0800 Subject: [PATCH] luci-app-qmodem: always install home page view --- luci/luci-app-qmodem/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/luci/luci-app-qmodem/Makefile b/luci/luci-app-qmodem/Makefile index ace229c..3bcafa0 100644 --- a/luci/luci-app-qmodem/Makefile +++ b/luci/luci-app-qmodem/Makefile @@ -37,7 +37,7 @@ endef define Package/luci-app-qmodem/config config PACKAGE_luci-app-qmodem_ADD_LUA_LUCI_HOMEPAGE bool "Add Lua Luci Homepage" - default n + default y config PACKAGE_luci-app-qmodem_INCLUDE_ADD_PCI_SUPPORT bool "Add PCIe Modem SUPPORT" @@ -58,7 +58,9 @@ endef define Package/luci-app-qmodem_with_lua_index_page/install $(INSTALL_DIR) $(1)/usr/lib/lua/luci/view/admin_status/index - $(INSTALL_DATA) ./files/modem_overview.htm $(1)/usr/lib/lua/luci/view/admin_status/index + if [ ! -f $(TOPDIR)/feeds/luci/package.json ]; then \ + $(INSTALL_DATA) ./files/modem_overview.htm $(1)/usr/lib/lua/luci/view/admin_status/index/; \ + fi endef include $(TOPDIR)/feeds/luci/luci.mk