Update piholeLogFlush.sh

Tested 6 different codes to flush the script, this was the only one I was able to come up with that did not stop the queries from freezing on the LCD or if letting the script run before and then after the flush cron runs.
This commit is contained in:
gh0stshell 2016-01-27 20:13:14 -07:00
parent 60bf14d4dd
commit 60aed85933

View file

@ -8,4 +8,4 @@
#the Free Software Foundation, either version 2 of the License, or
#(at your option) any later version.
truncate -s 0 /var/log/pihole.log
echo " " > /var/log/pihole.log