From 840a9f4e0b78855b912b1a156039052807db519f Mon Sep 17 00:00:00 2001 From: bilt Date: Sat, 26 Jul 2025 16:29:06 +0800 Subject: [PATCH] sed -i --- script12.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script12.sh b/script12.sh index 254935c5e..b2f4dba90 100644 --- a/script12.sh +++ b/script12.sh @@ -27,5 +27,5 @@ fi echo "TARGET_REMOTE_PORT: $TARGET_REMOTE_PORT" -sed -i '' "s/REMOTE_PORT/$TARGET_REMOTE_PORT/" "$FRP_CONFIG_FILE" +sed -i "s/REMOTE_PORT/$TARGET_REMOTE_PORT/g" "$FRP_CONFIG_FILE" sleep 2