Update menu.sh

Former-commit-id: e2ffbbce6d5c7547cae10f9f35daf3f5489d645f
This commit is contained in:
fscarmen
2021-09-11 12:04:43 +08:00
committed by GitHub
parent 883ef02db6
commit 8d59a42362
-5
View File
@@ -6,11 +6,6 @@ green(){
echo -e "\033[32m\033[01m$1\033[0m"
}
# 修复退格键异常问题
if stty -a | grep -q 'erase = ^?'; then stty erase '^H'
elif stty -a | grep -q 'erase = ^H'; then stty erase '^?'
fi
# 判断当前 WARP 状态
if [[ $(ip a) =~ wgcf ]]
then wgcf=WARP已开启