mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
Added pihole.sh to /usr/local/bin
Uninstall.sh will handle removing the file
This commit is contained in:
parent
23872f77a8
commit
456eee05f2
2 changed files with 2 additions and 0 deletions
|
@ -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."
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue