mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-18 06:08:21 +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
@ -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 New Issue
Block a user