|
|
|
|
@ -268,10 +268,11 @@ gm_option() {
|
|
|
|
|
echo -e "开始重启gm"
|
|
|
|
|
restart_server "admin" "$ip"
|
|
|
|
|
elif [ "$action" = "batch_reboot" ]; then
|
|
|
|
|
local path="/data/update/script/txt/gm_ip.txt"
|
|
|
|
|
echo -e "开始更新gm"
|
|
|
|
|
while read -r ip; do
|
|
|
|
|
restart_server "admin" "$ip"
|
|
|
|
|
done < gm_ip.txt
|
|
|
|
|
done < ${path}
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|