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 <[email protected]>
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)?
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"