From ff69ced7124651c5bc8dfca7ff19ef5055e49669 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Thu, 19 Oct 2023 15:02:56 +0800 Subject: [PATCH] feat: frpc script => scripts --- apps/frpc/0.52.1/{script => scripts}/init.sh | 1 - 1 file changed, 1 deletion(-) rename apps/frpc/0.52.1/{script => scripts}/init.sh (83%) diff --git a/apps/frpc/0.52.1/script/init.sh b/apps/frpc/0.52.1/scripts/init.sh similarity index 83% rename from apps/frpc/0.52.1/script/init.sh rename to apps/frpc/0.52.1/scripts/init.sh index 3f8820195e93..659752e428fc 100644 --- a/apps/frpc/0.52.1/script/init.sh +++ b/apps/frpc/0.52.1/scripts/init.sh @@ -4,7 +4,6 @@ source ./.env sed -i "s/serverAddr = \".*\"/serverAddr = \"${SERVER_ADDRESS}\"/" ./data/frpc.toml sed -i "s/serverPort = .*$/serverPort = ${SERVER_PORT}/" ./data/frpc.toml -sed -i "s/webServer\.addr = \".*\"/webServer.addr = \"${SERVER_ADDRESS}\"/" ./data/frpc.toml sed -i "s/webServer\.port = .*$/webServer.port = ${PANEL_APP_PORT_HTTP}/" ./data/frpc.toml sed -i "s/webServer\.user = \".*\"/webServer.user = \"${USER_NAME}\"/" ./data/frpc.toml sed -i "s/webServer\.password = \".*\"/webServer.password = \"${PASSWORD}\"/" ./data/frpc.toml