安装CURL程序
apt-get install curl
输入以下代码
echo "/ip firewall address-list" > cnlist.src && \
echo "remove [find comment=cnlist]" >> cnlist.src && \
curl 'https://ispip.clang.cn/all_cn.txt' \
| awk -F\, '{print "add address=" $0 " disabled=no list=cnlist comment=cnlist" }' >> cnlist.src
网友评论