secubox-openwrt/package/secubox/secubox-vortex-firewall/root/etc/init.d/vortex-firewall
CyberMind-FR 59dbd714a5 fix(tools): Add curl redirect handling to image builder scripts
Validated secubox-image.sh and secubox-sysupgrade.sh scripts:
- Fixed curl redirect issue: ASU API returns 301 redirects
- Added -L flag to 9 curl calls across both scripts
- Verified all device profiles valid (mochabin, espressobin, x86-64)
- Confirmed POSIX sh compatibility for sysupgrade script
- Validated first-boot script syntax

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-03 09:44:04 +01:00

41 lines
518 B
Bash
Executable File

#!/bin/sh /etc/rc.common
# Vortex DNS Firewall - DNS-level threat blocking with sinkhole server
START=95
STOP=10
USE_PROCD=1
PROG=/usr/sbin/vortex-firewall
start_service() {
$PROG start
}
stop_service() {
$PROG stop
}
service_triggers() {
procd_add_reload_trigger "vortex-firewall"
}
reload_service() {
$PROG intel update
}
status() {
$PROG status
}
sinkhole_start() {
$PROG sinkhole start
}
sinkhole_stop() {
$PROG sinkhole stop
}
sinkhole_status() {
$PROG sinkhole status
}