From 456eee05f23b1e8d6147fc45e72a835bc611e1fd Mon Sep 17 00:00:00 2001 From: nate Date: Mon, 28 Mar 2016 18:55:37 -0500 Subject: [PATCH] Added pihole.sh to /usr/local/bin Uninstall.sh will handle removing the file --- automated install/basic-install.sh | 1 + automated install/uninstall.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 3597f757..f490aabd 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -483,6 +483,7 @@ installScripts() { $SUDO cp /etc/.pihole/automated\ install/uninstall.sh /opt/pihole/uninstall.sh $SUDO cp /etc/.pihole/advanced/Scripts/setupLCD.sh /opt/pihole/setupLCD.sh $SUDO chmod 755 /opt/pihole/{gravity,chronometer,whitelist,blacklist,piholeLogFlush,updateDashboard,uninstall,setupLCD}.sh + $SUDO cp /etc/.pihole/pihole.sh /usr/local/bin/pihole.sh $SUDO echo " done." } diff --git a/automated install/uninstall.sh b/automated install/uninstall.sh index 0ac06521..8c19709f 100755 --- a/automated install/uninstall.sh +++ b/automated install/uninstall.sh @@ -119,6 +119,7 @@ function removeNoPurge { $SUDO rm -rf /etc/pihole/ &> /dev/null $SUDO rm -rf /etc/.pihole/ &> /dev/null $SUDO rm -rf /opt/pihole/ &> /dev/null + $SUDO rm /usr/local/bin/pihole.sh &> /dev/null echo ":::" printf "::: Finished removing PiHole from your system. Sorry to see you go!\n"