mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update CFwarp.sh
This commit is contained in:
parent
e2788ff84d
commit
94b135a0e9
|
@ -1811,15 +1811,15 @@ case "$Input" in
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
if [ $# == 0 ]; then
|
if [ $# == 0 ]; then
|
||||||
if [[ -n $(type -P warp-go) ]] && [[ -f '/root/CFwarp.sh' ]]; then
|
if [[ -n $(type -P warp-go) && -z $(type -P wg-quick) ]] && [[ -f '/root/CFwarp.sh' ]]; then
|
||||||
ONEWARPGO
|
ONEWARPGO
|
||||||
elif [[ -n $(type -P warp-go) && -n $(type -P warp-cli) ]] && [[ -f '/root/CFwarp.sh' ]]; then
|
elif [[ -n $(type -P warp-go) && -n $(type -P warp-cli) && -z $(type -P wg-quick) ]] && [[ -f '/root/CFwarp.sh' ]]; then
|
||||||
ONEWARPGO
|
ONEWARPGO
|
||||||
elif [[ -z $(type -P warp-go) && -z $(type -P wg-quick) && -n $(type -P warp-cli) ]] && [[ -f '/root/CFwarp.sh' ]]; then
|
elif [[ -z $(type -P warp-go) && -z $(type -P wg-quick) && -n $(type -P warp-cli) ]] && [[ -f '/root/CFwarp.sh' ]]; then
|
||||||
ONEWARPGO
|
ONEWARPGO
|
||||||
elif [[ -n $(type -P wg-quick) ]] && [[ -f '/root/CFwarp.sh' ]]; then
|
elif [[ -n $(type -P wg-quick) && -z $(type -P warp-go) ]] && [[ -f '/root/CFwarp.sh' ]]; then
|
||||||
ONEWGCFWARP
|
ONEWGCFWARP
|
||||||
elif [[ -n $(type -P wg-quick) && -n $(type -P warp-cli) ]] && [[ -f '/root/CFwarp.sh' ]]; then
|
elif [[ -n $(type -P wg-quick) && -n $(type -P warp-cli) && -z $(type -P warp-go) ]] && [[ -f '/root/CFwarp.sh' ]]; then
|
||||||
ONEWGCFWARP
|
ONEWGCFWARP
|
||||||
else
|
else
|
||||||
startCFwarp
|
startCFwarp
|
||||||
|
|
Loading…
Reference in New Issue