We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d25240f commit 9bdbe88Copy full SHA for 9bdbe88
1 file changed
advanced/Scripts/list.sh
@@ -11,7 +11,16 @@
11
# Globals
12
basename=pihole
13
piholeDir=/etc/"${basename}"
14
-gravityDBfile="${piholeDir}/gravity.db"
+GRAVITYDB="${piholeDir}/gravity.db"
15
+# Source pihole-FTL from install script
16
+pihole_FTL="${piholeDir}/pihole-FTL.conf"
17
+if [[ -f "${pihole_FTL}" ]]; then
18
+ source "${pihole_FTL}"
19
+fi
20
+
21
+# Set this only after sourcing pihole-FTL.conf as the gravity database path may
22
+# have changed
23
+gravityDBfile="${GRAVITYDB}"
24
25
reload=false
26
addmode=true
0 commit comments