From 36231830728c530566a3ae7c227d42884601bee8 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Thu, 20 Oct 2016 13:29:12 +0100 Subject: [PATCH 1/2] Remove reference to non-existent script --- advanced/pihole.cron | 4 ---- 1 file changed, 4 deletions(-) diff --git a/advanced/pihole.cron b/advanced/pihole.cron index 2d06fbbc..c86dded3 100644 --- a/advanced/pihole.cron +++ b/advanced/pihole.cron @@ -16,10 +16,6 @@ # Pi-hole: Update Pi-hole! Uncomment to enable auto update #30 2 * * 7 root /usr/local/bin/pihole updatePihole -# Pi-hole: Parse the log file before it is flushed and save the stats to a database -# This will be used for a historical view of your Pi-hole's performance -#50 23 * * * root /usr/local/bin/dailyLog.sh # note: this is outdated - # Pi-hole: Flush the log daily at 00:00 so it doesn't get out of control # Stats will be viewable in the Web interface thanks to the cron job above 00 00 * * * root /usr/local/bin/pihole flush From c71a976e7634e5c2cf7e5103c506c8c0513406a8 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Thu, 20 Oct 2016 13:37:07 +0100 Subject: [PATCH 2/2] kill off an old ugly hack --- gravity.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index 990b18ee..a7439bf5 100755 --- a/gravity.sh +++ b/gravity.sh @@ -320,7 +320,6 @@ gravity_reload() { adList=${adList//\//\\\/} #Now replace the line in dnsmasq file sed -i "s/^addn-hosts.*/addn-hosts=$adList/" /etc/dnsmasq.d/01-pihole.conf - find "$piholeDir" -type f -exec chmod 666 {} \; dnsmasqPid=$(pidof dnsmasq)