From e3ec19658242ddb714acbf55b468a05e7853bf1c Mon Sep 17 00:00:00 2001 From: Leo Date: Fri, 27 Mar 2026 15:18:56 +0100 Subject: [PATCH] luci-app-crowdsec-firewall-bouncer: rename UCI config to crowdsec-firewall-bouncer The UCI config file for crowdsec-firewall-bouncer is being renamed from `crowdsec` to `crowdsec-firewall-bouncer` to avoid a file ownership conflict with the crowdsec package (openwrt/packages#28991). Update form.js and the rpcd ACL file accordingly. Signed-off-by: Leo --- .../resources/view/crowdsec-firewall-bouncer/form.js | 2 +- .../share/rpcd/acl.d/luci-app-crowdsec-firewall-bouncer.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/luci-app-crowdsec-firewall-bouncer/htdocs/luci-static/resources/view/crowdsec-firewall-bouncer/form.js b/applications/luci-app-crowdsec-firewall-bouncer/htdocs/luci-static/resources/view/crowdsec-firewall-bouncer/form.js index 647ad60b304d..e89aac193ffd 100644 --- a/applications/luci-app-crowdsec-firewall-bouncer/htdocs/luci-static/resources/view/crowdsec-firewall-bouncer/form.js +++ b/applications/luci-app-crowdsec-firewall-bouncer/htdocs/luci-static/resources/view/crowdsec-firewall-bouncer/form.js @@ -7,7 +7,7 @@ return view.extend({ render: function() { let m, s, o; - m = new form.Map('crowdsec', _('CrowdSec'), + m = new form.Map('crowdsec-firewall-bouncer', _('CrowdSec'), _('Gain %s protection against malicious IPs.'.format('crowd-sourced')) + '
' + _('Benefit from the most accurate CTI in the world.')); diff --git a/applications/luci-app-crowdsec-firewall-bouncer/root/usr/share/rpcd/acl.d/luci-app-crowdsec-firewall-bouncer.json b/applications/luci-app-crowdsec-firewall-bouncer/root/usr/share/rpcd/acl.d/luci-app-crowdsec-firewall-bouncer.json index bc35211a2ac9..4b17d963cae8 100644 --- a/applications/luci-app-crowdsec-firewall-bouncer/root/usr/share/rpcd/acl.d/luci-app-crowdsec-firewall-bouncer.json +++ b/applications/luci-app-crowdsec-firewall-bouncer/root/usr/share/rpcd/acl.d/luci-app-crowdsec-firewall-bouncer.json @@ -2,10 +2,10 @@ "luci-app-crowdsec-firewall-bouncer": { "description": "Grant UCI access to LuCI app crowdsec-firewall-bouncer", "read": { - "uci": [ "crowdsec" ] + "uci": [ "crowdsec-firewall-bouncer" ] }, "write": { - "uci": [ "crowdsec" ] + "uci": [ "crowdsec-firewall-bouncer" ] } } }