mirror of
https://codeberg.org/h3xx/you-dont-need-pihole.git
synced 2024-08-14 20:27:01 +00:00
39 lines
1.4 KiB
Text
39 lines
1.4 KiB
Text
###############################################################################
|
|
# 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.
|
|
###############################################################################
|
|
|
|
# vi: ft=sh
|
|
# Defaults:
|
|
#WORKDIR=${WORKDIR:-${BASH_SOURCE%/*}}
|
|
#BACKUPSUFFIX=
|
|
#BLOCKLIST=$WORKDIR/block.list
|
|
#LIST_DIR=$WORKDIR/lists
|
|
|
|
# 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=()
|
|
|
|
# Individual hosts lists in that collection
|
|
#OUT+=("$LIST_DIR/sb-Badd-Boyz-Hosts.hosts")
|
|
#URL+=('https://raw.githubusercontent.com/StevenBlack/hosts/master/data/Badd-Boyz-Hosts/hosts')
|
|
|
|
# Not sure how I'm supposed to update this file...
|
|
#OUT+=("$LIST_DIR/list.1.raw.githubusercontent.com.domains")
|
|
#URL+=('???')
|