secubox-openwrt/package/secubox/secubox-app-rtty-remote/files/etc/init.d/rtty-remote
CyberMind-FR 2c763c3583 feat(rtty-remote): Add RTTY Remote Control module with support panel
New packages:
- secubox-app-rtty-remote: Backend with rttyctl CLI
- luci-app-rtty-remote: LuCI dashboard with KISS theme

Features:
- RPCD Proxy: Execute remote ubus calls to mesh nodes over HTTP
- Support Panel: Remote assistance with shareable session codes
- Session tracking: SQLite database for audit trail
- Quick actions: System info, network, services, vhosts, reboot
- RPC Console: Execute arbitrary ubus commands

CLI commands:
- rttyctl nodes - List mesh nodes
- rttyctl rpc <node> <object> <method> - Execute remote RPCD
- rttyctl rpc-list <node> - List available objects
- rttyctl sessions - Show session history

LuCI views:
- dashboard.js: Node management, stats, RPC console
- support.js: Remote assistance with session codes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-08 11:17:08 +01:00

33 lines
557 B
Bash

#!/bin/sh /etc/rc.common
START=95
STOP=10
USE_PROCD=1
PROG=/usr/sbin/rttyctl
CONF=/etc/config/rtty-remote
start_service() {
local enabled
config_load rtty-remote
config_get enabled main enabled '0'
[ "$enabled" = "1" ] || return 0
procd_open_instance rtty-remote
procd_set_param command $PROG server-daemon
procd_set_param respawn
procd_set_param stderr 1
procd_set_param stdout 1
procd_close_instance
}
service_triggers() {
procd_add_reload_trigger "rtty-remote"
}
reload_service() {
stop
start
}