  ## setup /etc/hosts.d
  mkdir -p /etc/hosts.d \
    && [ ! -f "/etc/hosts.d/$customConf" ] \
    && cp /etc/hosts /etc/hosts.d/$customConf \
    && echo "copied initial custom.conf"
  ## download blocklist and compile
  listURL='https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts'
  wget --no-verbose -O /etc/hosts.d/$blocklistConf $listURL \
    && cat /etc/hosts.d/*.conf > /etc/hosts \
    && systemctl restart systemd-networkd \
    && echo "hosts list updated"
fi
