Add configuration defaults
Don't depend on update.cfg being there. Move existing hard-coded config to example config.
This commit is contained in:
parent
00b114c85a
commit
b77bcfdb89
|
@ -1,10 +1,11 @@
|
|||
# vi: ft=sh
|
||||
WORKDIR=${WORKDIR:-${BASH_SOURCE%/*}}
|
||||
BACKUPSUFFIX=.old
|
||||
BLOCKLIST=$WORKDIR/block.list
|
||||
LIST_DIR=$WORKDIR/lists
|
||||
OUT=()
|
||||
URL=()
|
||||
# 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")
|
Loading…
Reference in New Issue