mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 04:31:21 +00:00
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 <chbgdn@gmail.com>
This commit is contained in:
committed by
Tianling Shen
parent
d8456186ec
commit
137a710fc2
@@ -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)?
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user