Update serv00.sh

This commit is contained in:
甬哥侃侃侃ygkkk
2025-03-10 16:33:25 +08:00
committed by GitHub
parent 34d260e98c
commit f436b38c0a
+1 -1
View File
@@ -1350,7 +1350,7 @@ menu() {
red "0. 退出脚本"
echo "============================================================"
ym=("$HOSTNAME" "cache$nb.serv00.com" "web$nb.serv00.com")
rm -rf ip.txt
rm -rf $WORKDIR/ip.txt
for host in "${ym[@]}"; do
response=$(curl -sL --connect-timeout 5 --max-time 7 "https://ss.fkj.pp.ua/api/getip?host=$host")
if [[ "$response" =~ (unknown|not|error) ]]; then