From 137a710fc2823098856585a293cb7ac9c5f505e2 Mon Sep 17 00:00:00 2001 From: Bohdan Chubuk Date: Mon, 10 Nov 2025 00:14:28 +0200 Subject: [PATCH] cloudflared: fix duplicate "run" command argument The init script was appending the 'run' subcommand twice. The first instance was misplaced, causing a command syntax error by placing 'run' before other tunnel options, which breaks the service. This patch removes the first, incorrect 'run' argument, leaving the second one in the correct position after all options have been set. This fixes a regression introduced in pull request #27786. Ref: https://github.com/openwrt/packages/pull/27786 Signed-off-by: Bohdan Chubuk --- net/cloudflared/Makefile | 2 +- net/cloudflared/files/cloudflared.init | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/net/cloudflared/Makefile b/net/cloudflared/Makefile index 604834e920..066113a731 100644 --- a/net/cloudflared/Makefile +++ b/net/cloudflared/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=cloudflared PKG_VERSION:=2025.11.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/cloudflare/cloudflared/tar.gz/$(PKG_VERSION)? diff --git a/net/cloudflared/files/cloudflared.init b/net/cloudflared/files/cloudflared.init index 2e61f5a66d..cfdd091aad 100755 --- a/net/cloudflared/files/cloudflared.init +++ b/net/cloudflared/files/cloudflared.init @@ -26,7 +26,6 @@ start_service() { procd_open_instance "$CONF" procd_set_param command "$PROG" "tunnel" procd_append_param command "--no-autoupdate" - procd_append_param command "run" append_param_arg "edge_bind_address" append_param_arg "edge_ip_version" -- 2.30.2