Since version v3.3.1, piholeLogFlush.sh generates an error when there is no FTL configuration file.
sed: can't read /etc/pihole/pihole-FTL.conf: No such file or directory
This is because piholeLogFlush.sh contains a sed command to determine the FTL database location, however, it doesn't anticipate there may not be an FTL configuration file (default configuration).
workaround:
Create /etc/pihole-FTL.conf, containing at least one line:
We should probably just create pihole-FTL.conf on install, even if it's just an empty file. Should reduce confusion of people having to make the file if it doesn't exist when they want to configure the file.