mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update CFwarp.sh
This commit is contained in:
parent
3774bc46d5
commit
778e7cbb9f
|
@ -54,7 +54,7 @@ bbr="openvz版bbr-plus"
|
|||
else
|
||||
bbr="暂不支持显示"
|
||||
fi
|
||||
if [[ $vi = openvz ]]; then
|
||||
if [[ $vi =~ lxc|openvz ]]; then
|
||||
TUN=$(cat /dev/net/tun 2>&1)
|
||||
if [[ ! $TUN =~ 'in bad state' ]] && [[ ! $TUN =~ '处于错误状态' ]] && [[ ! $TUN =~ 'Die Dateizugriffsnummer ist in schlechter Verfassung' ]]; then
|
||||
red "检测到未开启TUN,现尝试添加TUN支持" && sleep 4
|
||||
|
|
Loading…
Reference in New Issue