From 4b0a7c22524e0a7b9af1ed92e0a90c4f21f7179b Mon Sep 17 00:00:00 2001 From: nate Date: Wed, 30 Mar 2016 20:23:24 -0500 Subject: [PATCH] Added 01-pihole.conf to be removed on uninstall regardless of removing dnsmasq --- automated install/uninstall.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/automated install/uninstall.sh b/automated install/uninstall.sh index 786e8cea..44c40791 100755 --- a/automated install/uninstall.sh +++ b/automated install/uninstall.sh @@ -114,6 +114,7 @@ function removeNoPurge { $SUDO mv /etc/lighttpd/lighttpd.conf.orig /etc/lighttpd/lighttpd.conf fi fi + $SUDO rm /usr/local/bin/gravity.sh &> /dev/null $SUDO rm /usr/local/bin/chronometer.sh &> /dev/null $SUDO rm /usr/local/bin/whitelist.sh &> /dev/null @@ -123,6 +124,7 @@ function removeNoPurge { $SUDO rm /usr/local/bin/updateDashboard.sh &> /dev/null $SUDO rm /usr/local/bin/uninstall.sh &> /dev/null $SUDO rm /etc/dnsmasq.d/adList.conf &> /dev/null + $SUDO rm /etc/dnsmasq.d/01-pihole.conf &> /dev/null $SUDO rm -rf /var/log/*pihole* &> /dev/null $SUDO rm -rf /etc/pihole/ &> /dev/null $SUDO rm -rf /etc/.pihole/ &> /dev/null