From 64c028f9ce854cc057d5c31dbaf0c713473261d4 Mon Sep 17 00:00:00 2001 From: jwstaceyOvO <38880537+jwstaceyOvO@users.noreply.github.com> Date: Mon, 14 Feb 2022 16:57:08 +0800 Subject: [PATCH] Update status.sh --- status.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/status.sh b/status.sh index 31ea304..1bc6767 100644 --- a/status.sh +++ b/status.sh @@ -524,10 +524,10 @@ Set_ServerStatus_client() { } Modify_config_client() { - sed -i 's/SERVER = "'"${client_server}"'"/SERVER = "'"${server_s}"'"/g' "${client_file}/client-linux.py" - sed -i "s/PORT = ${client_port}/PORT = ${server_port_s}/g" "${client_file}/client-linux.py" - sed -i 's/USER = "'"${client_user}"'"/USER = "'"${username_s}"'"/g' "${client_file}/client-linux.py" - sed -i 's/PASSWORD = "'"${client_password}"'"/PASSWORD = "'"${password_s}"'"/g' "${client_file}/client-linux.py" + sed -i 's/SERVER = "'"${client_server}"'"/SERVER = "'"${server_s}"'"/' "${client_file}/client-linux.py" + sed -i "s/PORT = ${client_port}/PORT = ${server_port_s}/" "${client_file}/client-linux.py" + sed -i 's/USER = "'"${client_user}"'"/USER = "'"${username_s}"'"/' "${client_file}/client-linux.py" + sed -i 's/PASSWORD = "'"${client_password}"'"/PASSWORD = "'"${password_s}"'"/' "${client_file}/client-linux.py" } Install_caddy() {