mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update 661.sh
This commit is contained in:
parent
81516db795
commit
12e6ca9873
2
661.sh
2
661.sh
|
@ -508,6 +508,8 @@ fi
|
||||||
elif [[ $warptools == 2 ]]; then
|
elif [[ $warptools == 2 ]]; then
|
||||||
if [[ -f /root/WARP-UP.sh ]]; then
|
if [[ -f /root/WARP-UP.sh ]]; then
|
||||||
screen -S up -X quit ; screen -UdmS up bash -c '/bin/bash /root/WARP-UP.sh'
|
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
|
else
|
||||||
red "启动失败,请重装warp脚本"
|
red "启动失败,请重装warp脚本"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue