you-dont-need-pihole/update.cfg.example

43 lines
1.5 KiB
Text
Raw Normal View History

###############################################################################
# You Don't Need Pi-hole
# Network-wide DNS blocking without extra hardware.
#
# Project URL: https://codeberg.org/h3xx/you-dont-need-pihole
#
# License GPLv3: GNU GPL version 3.0 (https://www.gnu.org/licenses/gpl-3.0.html)
# with Commons Clause 1.0 (https://commonsclause.com/).
# This is free software: you are free to change and redistribute it.
# There is NO WARRANTY, to the extent permitted by law.
# You may NOT use this software for commercial purposes.
###############################################################################
2021-01-30 03:26:05 +00:00
# vi: ft=sh
# Defaults:
#WORKDIR=${WORKDIR:-${BASH_SOURCE%/*}}
#BACKUPSUFFIX=
#BLOCKLIST=$WORKDIR/block.list
#LIST_DIR=$WORKDIR/lists
2022-11-12 17:06:13 +00:00
# Simple URL grab list
# Mirror any URL to the 'lists' directory.
# Note: URL and OUT indices are correlated, e.g. URL[10] will be retrieved and
# stored in OUT[10]
# Example config:
# URL+=('https://example.com/mylist.hosts')
# OUT+=("$LIST_DIR/mylist.hosts")
# URL+=('https://example.com/others.hosts')
# OUT+=("$LIST_DIR/others.hosts")
#OUT=()
#URL=()
# What to run in order to restart dnsmasq. Leave empty to restart manually.
# Note: if you need shell features, use (bash -c '...')
# Typical value:
# Ubuntu/Debian/CentOS:
# DNSMASQ_RESTART_COMMAND=(service dnsmasq restart)
# Slackware:
# DNSMASQ_RESTART_COMMAND=(/etc/rc.d/rc.dnsmasq restart)
# Mac OSX (with homebrew):
# DNSMASQ_RESTART_COMMAND=(brew services restart dnsmasq)
#DNSMASQ_RESTART_COMMAND=()