forked from buzzhub/lsyupdate
check_config
This commit is contained in:
parent
a426487523
commit
52bcea22fd
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user