From 52bcea22fd3edfb0de70899dca0c5c292e1d9ead Mon Sep 17 00:00:00 2001 From: zqiushi Date: Wed, 8 Jan 2025 18:14:17 +0800 Subject: [PATCH] check_config --- lsy-frpc/data/lsyfrpc/check_config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsy-frpc/data/lsyfrpc/check_config.sh b/lsy-frpc/data/lsyfrpc/check_config.sh index 8ba3756..a421f8c 100644 --- a/lsy-frpc/data/lsyfrpc/check_config.sh +++ b/lsy-frpc/data/lsyfrpc/check_config.sh @@ -55,7 +55,7 @@ function check_config() { # 比较配置文件中的 MAC 地址和端口是否与云端匹配 if [ "$current_mac_address" != "$cloud_mac_address" ] || [ "$current_port" != "$cloud_port" ]; then echo "[INFO] Configuration mismatch detected. Re-running install.sh..." - sudo /bin/bash /path/to/install.sh + sudo /bin/bash $FRPC_DIR/install.sh else echo "[INFO] Configuration is up to date." fi