From dd1b848e19d6a2a87faaccde47866ac16722c0c7 Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Wed, 24 Dec 2025 00:19:15 +0100 Subject: [PATCH] fix: add category parent menus for SecuBox modules Added missing category parent menu entries that other SecuBox modules depend on: - admin/secubox/security (Security & Monitoring) - admin/secubox/network (Network Management) - admin/secubox/system (System & Performance) Without these parent menus, individual modules like crowdsec, network-modes, and system-hub couldn't register their menu entries under admin/secubox/*/ This allows all SecuBox modules to appear in the LuCI menu hierarchy. Fixes: luci-app-secubox menu structure --- .../usr/share/luci/menu.d/luci-app-secubox.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/luci-app-secubox/root/usr/share/luci/menu.d/luci-app-secubox.json b/luci-app-secubox/root/usr/share/luci/menu.d/luci-app-secubox.json index 11aa1620..8624786b 100644 --- a/luci-app-secubox/root/usr/share/luci/menu.d/luci-app-secubox.json +++ b/luci-app-secubox/root/usr/share/luci/menu.d/luci-app-secubox.json @@ -13,5 +13,20 @@ "title": "Modules", "order": 20, "action": {"type": "view", "path": "secubox/modules"} + }, + "admin/secubox/security": { + "title": "Security & Monitoring", + "order": 30, + "action": {"type": "firstchild"} + }, + "admin/secubox/network": { + "title": "Network Management", + "order": 40, + "action": {"type": "firstchild"} + }, + "admin/secubox/system": { + "title": "System & Performance", + "order": 50, + "action": {"type": "firstchild"} } }