1
0
Fork 0
mirror of https://codeberg.org/h3xx/you-dont-need-pihole.git synced 2024-08-14 20:27:01 +00:00

Add configuration defaults

Don't depend on update.cfg being there.

Move existing hard-coded config to example config.
This commit is contained in:
Dan Church 2022-08-11 12:43:49 -05:00
parent 00b114c85a
commit b77bcfdb89
Signed by: h3xx
GPG key ID: EA2BF379CD2CDBD0
2 changed files with 16 additions and 7 deletions

16
update.cfg.example Normal file
View file

@ -0,0 +1,16 @@
# vi: ft=sh
# Defaults:
#WORKDIR=${WORKDIR:-${BASH_SOURCE%/*}}
#BACKUPSUFFIX=
#BLOCKLIST=$WORKDIR/block.list
#LIST_DIR=$WORKDIR/lists
#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+=('???')