From 60aed859334c40d87381b66d68797f08871f2839 Mon Sep 17 00:00:00 2001 From: gh0stshell Date: Wed, 27 Jan 2016 20:13:14 -0700 Subject: [PATCH] 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. --- advanced/Scripts/piholeLogFlush.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Scripts/piholeLogFlush.sh b/advanced/Scripts/piholeLogFlush.sh index 832c98c9..c9f5ed74 100755 --- a/advanced/Scripts/piholeLogFlush.sh +++ b/advanced/Scripts/piholeLogFlush.sh @@ -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