提交 2bef51ec 编写于 作者: C caicaicai21 提交者: coolsnowwolf

luci-app-ssr-plus: optimize subscription process (#2673)

上级 3ffefbc7
......@@ -211,6 +211,11 @@ do
ssr_remarks="$ssr_host:$ssr_port";
fi
if [ -z "$ssr_host" ];then # 丢弃没有host的无效服务器信息,例如:剩余流量xxx
echo_date "丢弃无效节点:【$ssr_remarks】"
continue
fi
uci_name_tmp=$(uci show $name | grep -w "$ssr_hashkey" | awk -F . '{print $2}')
if [ -z "$uci_name_tmp" ]; then # 判断当前服务器信息是否存在
uci_name_tmp=$(uci add $name servers)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册