Update 661.sh

This commit is contained in:
甬哥侃侃侃ygkkk 2023-04-07 08:22:20 +00:00
parent 81516db795
commit 12e6ca9873
1 changed files with 2 additions and 0 deletions

2
661.sh
View File

@ -508,6 +508,8 @@ fi
elif [[ $warptools == 2 ]]; then
if [[ -f /root/WARP-UP.sh ]]; then
screen -S up -X quit ; screen -UdmS up bash -c '/bin/bash /root/WARP-UP.sh'
name=`screen -ls | grep '(Detached)' | awk '{print $1}' | awk -F "." '{print $2}'`
[[ $name =~ "up" ]] && green "WARP在线监测启动成功" || red "WARP在线监测启动失败"
else
red "启动失败请重装warp脚本"
fi