check_config

This commit is contained in:
zqiushi 2025-01-08 18:14:17 +08:00
parent a426487523
commit 52bcea22fd

View File

@ -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