Update CFwarp.sh

This commit is contained in:
甬哥侃侃侃ygkkk 2022-07-30 02:02:28 +00:00
parent 3774bc46d5
commit 778e7cbb9f
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ bbr="openvz版bbr-plus"
else else
bbr="暂不支持显示" bbr="暂不支持显示"
fi fi
if [[ $vi = openvz ]]; then if [[ $vi =~ lxc|openvz ]]; then
TUN=$(cat /dev/net/tun 2>&1) TUN=$(cat /dev/net/tun 2>&1)
if [[ ! $TUN =~ 'in bad state' ]] && [[ ! $TUN =~ '处于错误状态' ]] && [[ ! $TUN =~ 'Die Dateizugriffsnummer ist in schlechter Verfassung' ]]; then if [[ ! $TUN =~ 'in bad state' ]] && [[ ! $TUN =~ '处于错误状态' ]] && [[ ! $TUN =~ 'Die Dateizugriffsnummer ist in schlechter Verfassung' ]]; then
red "检测到未开启TUN现尝试添加TUN支持" && sleep 4 red "检测到未开启TUN现尝试添加TUN支持" && sleep 4