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.
2 parents ffd3cbb + 2d87973 commit dd1df2bCopy full SHA for dd1df2b
src/start.sh
@@ -70,13 +70,16 @@ start() {
70
# We need the PID of the capsh process so that we can wait for it to finish
71
CAPSH_PID=$!
72
73
+ # Get the FTL log file path from the config
74
+ FTLlogFile=$(getFTLConfigValue files.log.ftl)
75
+
76
# Wait until the log file exists before continuing
- while [ ! -f /var/log/pihole/FTL.log ]; do
77
+ while [ ! -f "${FTLlogFile}" ]; do
78
sleep 0.5
79
done
80
81
# Wait until the FTL log contains the "FTL started" message before continuing
- while ! grep -q '########## FTL started' /var/log/pihole/FTL.log; do
82
+ while ! grep -q '########## FTL started' "${FTLlogFile}"; do
83
84
85
0 commit comments