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"