Fixed empty modules page by changing all module iteration to use UCI config instead of RPCD script detection: Problem: - $MODULES was populated by detect_modules() which only returned modules with installed RPCD scripts - When only luci-app-secubox is installed (without individual modules), $MODULES was empty - This caused modules page to show no modules Solution: - Changed all functions to iterate through UCI config sections - Uses: uci show secubox | grep "=module$" - Now shows ALL modules defined in /etc/config/secubox - Modules are marked as installed/not installed based on opkg Functions updated: - get_modules() - get_modules_by_category() - get_dashboard_data() - get_alerts() - get_health() - get_diagnostics() This allows the modules page to display all available SecuBox modules even when they're not installed yet. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| libexec/rpcd | ||
| share | ||