#!/bin/sh

dnscrypt_dir="/etc/dnscrypt-proxy"
adblock_dir="${dnscrypt_dir}/adblock"

/usr/bin/python3 "${adblock_dir}"/generate-domains-blocklist.py \
	-i -a /dev/null -r /dev/null \
	-c "${adblock_dir}"/domains-blocklist.conf \
	-o "${dnscrypt_dir}"/blocked-names.txt

/bin/chmod 0644 "${dnscrypt_dir}"/blocked-names.txt
