Add four major features to enhance SecuBox AppStore: 1. Feed Source Management: - Feed types: published, unpublished, development - Share tokens for private feed access - CLI: secubox feed list/add/share/import - LuCI: Feed type badges and share URLs in catalog-sources 2. Profile Export/Import: - Export configurations with feed sources embedded - Import from URL or file with merge/replace modes - CLI: secubox profile export/import/share - LuCI: New profiles.js view with export/import dialogs 3. Skill System: - Capability discovery from module catalogs - Quality indicators based on provider count - CLI: secubox skill list/providers/install/check - LuCI: New skills.js view with provider browser 4. Feedback Loop: - Issue reporting and resolution tracking - Search existing resolutions - CLI: secubox feedback report/resolve/search/list - LuCI: New feedback.js view for knowledge base Technical changes: - RPCD backend with 17 new API methods - POSIX shell compatibility fixes (ESC via printf, tr A-Z a-z) - LuCI menu entries for new views Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
628 B
Bash
24 lines
628 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright 2026 CyberMind <contact@cybermind.fr>
|
|
# SecuBox Local Feed - Syncs package list to opkg on boot
|
|
|
|
START=99
|
|
USE_PROCD=1
|
|
|
|
start_service() {
|
|
# Copy local feed Packages file to opkg lists
|
|
# This works around opkg's signature verification bug for file:// feeds
|
|
if [ -f /www/secubox-feed/Packages ]; then
|
|
cp /www/secubox-feed/Packages /var/opkg-lists/secubox
|
|
logger -t secubox-feed "Local package feed synced: $(grep -c '^Package:' /var/opkg-lists/secubox) packages"
|
|
fi
|
|
}
|
|
|
|
stop_service() {
|
|
rm -f /var/opkg-lists/secubox
|
|
}
|
|
|
|
reload_service() {
|
|
start_service
|
|
}
|