v1.0.0beta14fix4

~修复部分ssr节点不可用的bug
~mac过滤功能增加移除单个设备以及添加全部设备功能
~修复设置本机代理时直接跳出的bug
~优化安装脚本,增加root用户检测
~优化ipv6dns拦截方式
~修复部分设备开机启动显示不正常的bug
~修复部分设备时间显示不正常的bug
This commit is contained in:
juewuy
2020-10-12 17:17:30 +08:00
parent 94c0ed99ef
commit fc5dc18348
3 changed files with 13 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ read -p "请输入对应数字 > " num
if [ -z "$num" ] || [[ $num -gt 13 ]];then
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo -e "\033[31m请输入正确的数字\033[0m"
elif [[ "$num" = 0 ]];then
elif [[ "$num" = "0" ]];then
echo
elif [[ $num -le 13 ]];then
#将对应标记值写入mark
@@ -161,7 +161,7 @@ do
echo -e " 0 \033[31m撤销输入\033[0m"
echo -e "回车 \033[32m完成输入\033[0m并\033[33m开始导入\033[0m配置文件"
echo -----------------------------------------------
read -p "请输入第"$i"个链接 > " url
read -p "请输入第${i}个链接 > " url
test=$(echo $url | grep "://")
url=`echo ${url/\ \(*\)/''}` #删除恶心的超链接内容
url=`echo ${url/*\&url\=/""}` #将clash完整链接还原成单一链接
@@ -173,7 +173,7 @@ do
else
Url="$Url"\|"$url"
fi
i=$(($i+1))
i=$(expr $i + 1)
elif [ -z "$url" ];then
[ -n "$Url" ] && linkset
elif [[ $url == 0 ]];then