feat(secubox-core): Add SecuBox banner replacing OpenWrt default

- Custom ASCII art banner with SecuBox branding
- Shows helpful info: CLI help, dashboard URL
- Installed to /etc/banner on device
- Added to conffiles for upgrade preservation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-03-11 10:26:59 +01:00
parent 66b58c74d6
commit 9b58d6db38
3 changed files with 27 additions and 2 deletions

View File

@ -527,7 +527,13 @@
"Bash(GIT_SSH_COMMAND=\"ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10\" git push:*)",
"Bash(GIT_SSH_COMMAND=\"ssh -o StrictHostKeyChecking=no -p 2222\" git push:*)",
"Bash(git remote add:*)",
"Bash(git branch:*)"
"Bash(git branch:*)",
"Bash(nmcli con show:*)",
"Bash(ip:*)",
"Bash(wg show:*)",
"Bash(sudo ip addr:*)",
"Bash(ethtool:*)",
"Bash(arp-scan:*)"
]
}
}

View File

@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=secubox-core
PKG_VERSION:=0.10.0
PKG_RELEASE:=16
PKG_RELEASE:=17
PKG_ARCH:=all
PKG_LICENSE:=GPL-2.0
PKG_MAINTAINER:=SecuBox Team
@ -44,12 +44,17 @@ define Package/secubox-core/conffiles
/etc/secubox/profiles/
/etc/secubox/templates/
/etc/secubox/macros/
/etc/banner
endef
define Build/Compile
endef
define Package/secubox-core/install
# Install SecuBox banner (replaces OpenWrt default)
$(INSTALL_DIR) $(1)/etc
$(INSTALL_DATA) ./root/etc/banner $(1)/etc/
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./root/etc/config/secubox $(1)/etc/config/
$(INSTALL_CONF) ./root/etc/config/secubox-appstore $(1)/etc/config/

View File

@ -0,0 +1,14 @@
_____ ____
/ ___/___ _______ __/ __ )____ _ __
\__ \/ _ \/ ___/ / / / __ / __ \| |/_/
___/ / __/ /__/ /_/ / /_/ / /_/ /> <
/____/\___/\___/\__,_/_____/\____/_/|_|
SecuBox - Secure Network Gateway
--------------------------------
Powered by OpenWrt | CyberMind.fr
Type 'secubox help' for available commands
Dashboard: https://admin.secubox.local/