From: Tung-Yi Chen Date: Thu, 5 Mar 2026 18:24:22 +0000 (+0800) Subject: tailscale: fix fw_mode env by using append_param X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=04dd27674493ec018a7cd582538f7a60e9ce7803;p=openwrt-packages.git tailscale: fix fw_mode env by using append_param The previous commit 09c14817 introduced TS_NO_LOGS_NO_SUPPORT but used procd_set_param for a subsequent environment variable. This overwrote the previous env setting, causing fw_mode to be missed. Switch to procd_append_param to ensure all environment variables are properly passed to the process. Signed-off-by: Tung-Yi Chen --- diff --git a/net/tailscale/Makefile b/net/tailscale/Makefile index 7bbb930ca..81c2143a0 100644 --- a/net/tailscale/Makefile +++ b/net/tailscale/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tailscale PKG_VERSION:=1.94.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/tailscale/tailscale/tar.gz/v$(PKG_VERSION)? diff --git a/net/tailscale/files/tailscale.init b/net/tailscale/files/tailscale.init index f0033f086..343e33ae3 100644 --- a/net/tailscale/files/tailscale.init +++ b/net/tailscale/files/tailscale.init @@ -31,7 +31,7 @@ start_service() { procd_set_param env TS_DEBUG_FIREWALL_MODE="$fw_mode" # Disable logging to log.tailscale.com - procd_set_param env TS_NO_LOGS_NO_SUPPORT=true + procd_append_param env TS_NO_LOGS_NO_SUPPORT=true # Set the port to listen on for incoming VPN packets. # Remote nodes will automatically be informed about the new port number,