mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-31 11:10:55 +00:00
Update gravity path in list.sh
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
d25240fe9f
commit
9bdbe88a66
@ -11,7 +11,16 @@
|
|||||||
# Globals
|
# Globals
|
||||||
basename=pihole
|
basename=pihole
|
||||||
piholeDir=/etc/"${basename}"
|
piholeDir=/etc/"${basename}"
|
||||||
gravityDBfile="${piholeDir}/gravity.db"
|
GRAVITYDB="${piholeDir}/gravity.db"
|
||||||
|
# Source pihole-FTL from install script
|
||||||
|
pihole_FTL="${piholeDir}/pihole-FTL.conf"
|
||||||
|
if [[ -f "${pihole_FTL}" ]]; then
|
||||||
|
source "${pihole_FTL}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Set this only after sourcing pihole-FTL.conf as the gravity database path may
|
||||||
|
# have changed
|
||||||
|
gravityDBfile="${GRAVITYDB}"
|
||||||
|
|
||||||
reload=false
|
reload=false
|
||||||
addmode=true
|
addmode=true
|
||||||
|
Loading…
Reference in New Issue
Block a user