bettermanbao / openwrt-shadowsocksR-libev-full

ShadowsocksR-libev-full for OpenWrt
386 stars 334 forks source link

-gfwlist 版本,将原先cron的内容覆盖了。 #38

Closed shao222 closed 7 years ago

shao222 commented 8 years ago

编译安装了-gfwlist 版本,但发觉它自动覆盖了cron的内容:

*/10 * * * * /root/ssr-watchdog >> /var/log/shadowsocksr_watchdog.log 2>&1
0 1 * * 0 echo "" > /var/log/shadowsocksr_watchdog.log
#0 1 * * 0 sleep 70 && touch /etc/banner && reboot

把我原先每天更新chnroute 文件的任务覆盖了。

0 2 * * * 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/chinadns_chnroute.txt
bettermanbao commented 7 years ago

v20170521版已修复