From 16ad6d6a43258dc34ba3cd75920a59aac6d63be6 Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Wed, 24 Dec 2025 09:51:45 +0100 Subject: [PATCH] fix: rename all RPCD scripts to match ubus object names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All RPCD scripts must use the 'luci.' prefix to match their JavaScript ubus object declarations. This fixes RPC errors like: - "RPC call to luci.cdn-cache/status failed with error -32000: Object not found" Renamed RPCD scripts: - cdn-cache → luci.cdn-cache - client-guardian → luci.client-guardian - crowdsec → luci.crowdsec-dashboard - netdata → luci.netdata-dashboard - netifyd-dashboard → luci.netifyd-dashboard - network-modes → luci.network-modes - system-hub → luci.system-hub - wireguard-dashboard → luci.wireguard-dashboard 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- .../root/usr/libexec/rpcd/{cdn-cache => luci.cdn-cache} | 0 .../usr/libexec/rpcd/{client-guardian => luci.client-guardian} | 0 .../root/usr/libexec/rpcd/{crowdsec => luci.crowdsec-dashboard} | 0 .../root/usr/libexec/rpcd/{netdata => luci.netdata-dashboard} | 0 .../libexec/rpcd/{netifyd-dashboard => luci.netifyd-dashboard} | 0 .../root/usr/libexec/rpcd/{network-modes => luci.network-modes} | 0 .../root/usr/libexec/rpcd/{system-hub => luci.system-hub} | 0 .../rpcd/{wireguard-dashboard => luci.wireguard-dashboard} | 0 8 files changed, 0 insertions(+), 0 deletions(-) rename luci-app-cdn-cache/root/usr/libexec/rpcd/{cdn-cache => luci.cdn-cache} (100%) rename luci-app-client-guardian/root/usr/libexec/rpcd/{client-guardian => luci.client-guardian} (100%) rename luci-app-crowdsec-dashboard/root/usr/libexec/rpcd/{crowdsec => luci.crowdsec-dashboard} (100%) rename luci-app-netdata-dashboard/root/usr/libexec/rpcd/{netdata => luci.netdata-dashboard} (100%) rename luci-app-netifyd-dashboard/root/usr/libexec/rpcd/{netifyd-dashboard => luci.netifyd-dashboard} (100%) rename luci-app-network-modes/root/usr/libexec/rpcd/{network-modes => luci.network-modes} (100%) rename luci-app-system-hub/root/usr/libexec/rpcd/{system-hub => luci.system-hub} (100%) rename luci-app-wireguard-dashboard/root/usr/libexec/rpcd/{wireguard-dashboard => luci.wireguard-dashboard} (100%) diff --git a/luci-app-cdn-cache/root/usr/libexec/rpcd/cdn-cache b/luci-app-cdn-cache/root/usr/libexec/rpcd/luci.cdn-cache similarity index 100% rename from luci-app-cdn-cache/root/usr/libexec/rpcd/cdn-cache rename to luci-app-cdn-cache/root/usr/libexec/rpcd/luci.cdn-cache diff --git a/luci-app-client-guardian/root/usr/libexec/rpcd/client-guardian b/luci-app-client-guardian/root/usr/libexec/rpcd/luci.client-guardian similarity index 100% rename from luci-app-client-guardian/root/usr/libexec/rpcd/client-guardian rename to luci-app-client-guardian/root/usr/libexec/rpcd/luci.client-guardian diff --git a/luci-app-crowdsec-dashboard/root/usr/libexec/rpcd/crowdsec b/luci-app-crowdsec-dashboard/root/usr/libexec/rpcd/luci.crowdsec-dashboard similarity index 100% rename from luci-app-crowdsec-dashboard/root/usr/libexec/rpcd/crowdsec rename to luci-app-crowdsec-dashboard/root/usr/libexec/rpcd/luci.crowdsec-dashboard diff --git a/luci-app-netdata-dashboard/root/usr/libexec/rpcd/netdata b/luci-app-netdata-dashboard/root/usr/libexec/rpcd/luci.netdata-dashboard similarity index 100% rename from luci-app-netdata-dashboard/root/usr/libexec/rpcd/netdata rename to luci-app-netdata-dashboard/root/usr/libexec/rpcd/luci.netdata-dashboard diff --git a/luci-app-netifyd-dashboard/root/usr/libexec/rpcd/netifyd-dashboard b/luci-app-netifyd-dashboard/root/usr/libexec/rpcd/luci.netifyd-dashboard similarity index 100% rename from luci-app-netifyd-dashboard/root/usr/libexec/rpcd/netifyd-dashboard rename to luci-app-netifyd-dashboard/root/usr/libexec/rpcd/luci.netifyd-dashboard diff --git a/luci-app-network-modes/root/usr/libexec/rpcd/network-modes b/luci-app-network-modes/root/usr/libexec/rpcd/luci.network-modes similarity index 100% rename from luci-app-network-modes/root/usr/libexec/rpcd/network-modes rename to luci-app-network-modes/root/usr/libexec/rpcd/luci.network-modes diff --git a/luci-app-system-hub/root/usr/libexec/rpcd/system-hub b/luci-app-system-hub/root/usr/libexec/rpcd/luci.system-hub similarity index 100% rename from luci-app-system-hub/root/usr/libexec/rpcd/system-hub rename to luci-app-system-hub/root/usr/libexec/rpcd/luci.system-hub diff --git a/luci-app-wireguard-dashboard/root/usr/libexec/rpcd/wireguard-dashboard b/luci-app-wireguard-dashboard/root/usr/libexec/rpcd/luci.wireguard-dashboard similarity index 100% rename from luci-app-wireguard-dashboard/root/usr/libexec/rpcd/wireguard-dashboard rename to luci-app-wireguard-dashboard/root/usr/libexec/rpcd/luci.wireguard-dashboard