diff options
| author | Shulhan <ms@kilabit.info> | 2019-01-23 22:24:16 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2019-01-23 22:24:16 +0700 |
| commit | 11dfddc4c5a1ace84df971c143bc8a45ef4bb1e6 (patch) | |
| tree | d7f56a64adc24de1c52c8aa5292ca7bba5bb3990 | |
| parent | 72183f60dfcfa30cb927cf2caff742c5b8b70d1a (diff) | |
| download | rescached-11dfddc4c5a1ace84df971c143bc8a45ef4bb1e6.tar.xz | |
scripts: update the hosts.block destination file
| -rwxr-xr-x | scripts/rescached-update-hosts-block.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rescached-update-hosts-block.sh b/scripts/rescached-update-hosts-block.sh index 03a5bf9..17b8e83 100755 --- a/scripts/rescached-update-hosts-block.sh +++ b/scripts/rescached-update-hosts-block.sh @@ -8,7 +8,7 @@ if [[ ${UID} != 0 ]]; then exit 1 fi -HOSTS_BLOCK=/etc/rescached/hosts.block +HOSTS_BLOCK=/etc/rescached/hosts.d/hosts.block TMP_HOSTS=/tmp/hosts.raw wget -O - "http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&startdate[day]=&startdate[month]=&startdate[year]=&mimetype=plaintext" > $TMP_HOSTS |
