From 9674a80f61ca80598881c572cf19361e923945be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=AC=E5=93=A5=E4=BE=83=E4=BE=83=E4=BE=83ygkkk?= Date: Thu, 2 Mar 2023 04:28:48 +0000 Subject: [PATCH] Update 661.sh --- 661.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/661.sh b/661.sh index c8ca961..ee7124c 100644 --- a/661.sh +++ b/661.sh @@ -1596,9 +1596,15 @@ esac } if [ $# == 0 ]; then start -if [[ -n $(type -P warp-go) || -n $(type -P warp-cli) ]] && [[ -f '/root/661.sh' ]]; then +if [[ -n $(type -P warp-go) ]] && [[ -f '/root/661.sh' ]]; then ONEWARPGO -elif [[ -n $(type -P wg-quick) || -n $(type -P warp-cli) ]] && [[ -f '/root/661.sh' ]]; then +elif [[ -n $(type -P warp-go) && -n $(type -P warp-cli) ]] && [[ -f '/root/661.sh' ]]; then +ONEWARPGO +elif [[ -z $(type -P warp-go) && -z $(type -P wg-quick) && -n $(type -P warp-cli) ]] && [[ -f '/root/661.sh' ]]; then +ONEWARPGO +elif [[ -n $(type -P wg-quick) ]] && [[ -f '/root/661.sh' ]]; then +ONEWGCFWARP +elif [[ -n $(type -P wg-quick) && -n $(type -P warp-cli) ]] && [[ -f '/root/661.sh' ]]; then ONEWGCFWARP else startCFwarp