Merge Lean's source
This commit is contained in:
commit
4417ff1cac
@ -12,3 +12,18 @@ jellyfish.pandora.xiaomi.com
|
||||
gallery.pandora.xiaomi.com
|
||||
o2o.api.xiaomi.com
|
||||
bss.pandora.xiaomi.com
|
||||
auth.api.gitv.tv
|
||||
misc.pandora.xiaomi.com
|
||||
tvapi.kuyun.com
|
||||
tv.aiseet.atianqi.com
|
||||
vv.play.aiseet.atianqi.com
|
||||
alog.umeng.com
|
||||
pandora.mi.com
|
||||
tvapi.kuyun.com
|
||||
sdkconfig.ad.xiaomi.com
|
||||
assistant.pandora.xiaomi.com
|
||||
tracking.miui.com
|
||||
misc.pandora.xiaomi.com
|
||||
omgmta.play.aiseet.atianqi.com
|
||||
starfish.pandora.xiaomi.com
|
||||
misc.in.duokanbox.com
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -72,8 +72,8 @@ ipq40xx_setup_macs()
|
||||
;;
|
||||
p2w,r619ac|\
|
||||
p2w,r619ac-128m)
|
||||
w_mac=$(cat /sys/class/net/eth0/address)
|
||||
l_mac=$(macaddr_add "$wan_mac" 1)
|
||||
wan_mac=$(cat /sys/class/net/eth0/address)
|
||||
lan_mac=$(macaddr_add "$wan_mac" 1)
|
||||
;;
|
||||
linksys,ea6350v3)
|
||||
wan_mac=$(mtd_get_mac_ascii devinfo hw_mac_addr)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user