几个小脚本备份
时间:2015-2-7 17:39 热度:3229° 评论:0 条

conf-file=/etc/adblock.conf conf-file=/etc/dnsmasq.d
#!/bin/sh wget --no-check-certificate -qO - https://easylist-downloads.adblockplus.org/chinalist+easylist.txt | grep ^\|\|[^\*]*\^$ | sed -e 's:||:address\=\/:' -e 's:\^:/127\.0\.0\.1:' > /etc/adblock.conf /etc/init.d/dnsmasq restart ##adb更新
#!/bin/sh rm -rf /etc/dnsmasq.d wget --no-check-certificate -qO - wget -c -O /etc/dnsmasq.d https://cokebar.info/wp-content/uploads/secured_files/dnsmasq_list.conf sed -i -e 's|5353|5354|' /etc/dnsmasq.d sed -i -e 's|ipset|#ipset|' /etc/dnsmasq.d #dnsmasqforgfw#!/bin/sh wget -O- 'http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest' | awk -F\| '/CN\|ipv4/ { printf("%s/%d\n", $4, 32-log($5)/log(2)) }' > /etc/shadowsocks/ignore.list#iplist更新


捐赠支持:如果觉得这篇文章对您有帮助,请“扫一扫”鼓励作者!
相关文章本文作者:沁雨寒 文章标题: 几个小脚本备份
本文地址:https://blog.sxx1314.com/openwrt/185.html
版权声明:若无注明,本文皆为“unix 软硬件 技术宅 ”原创,转载请保留文章出处。百度已收录
本文地址:https://blog.sxx1314.com/openwrt/185.html
版权声明:若无注明,本文皆为“unix 软硬件 技术宅 ”原创,转载请保留文章出处。百度已收录















