mirror of
https://github.com/moparisthebest/pi-hole
synced 2024-11-14 05:15:17 -05:00
uninstall script
This should remove the Pi-hole.
This commit is contained in:
parent
03bbef07b5
commit
464003d674
19
automated install/uninstall.sh
Normal file
19
automated install/uninstall.sh
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Completely uninstalls the Pi-hole
|
||||||
|
|
||||||
|
######### SCRIPT ###########
|
||||||
|
sudo apt-get -y remove --purge dnsutils bc toilet
|
||||||
|
sudo apt-get -y remove --purge dnsmasq
|
||||||
|
sudo apt-get -y remove --purge lighttpd php5-common php5-cgi php5
|
||||||
|
sudo rm -rf /var/www/html
|
||||||
|
sudo rm /etc/dnsmasq.conf /etc/dnsmasq.conf.orig
|
||||||
|
sudo rm /etc/crontab
|
||||||
|
sudo mv /etc/crontab.orig /etc/crontab
|
||||||
|
sudo rm /etc/dnsmasq.conf
|
||||||
|
sudo rm -rf /etc/lighttpd/
|
||||||
|
sudo rm /var/log/pihole.log
|
||||||
|
sudo rm /usr/local/bin/gravity.sh
|
||||||
|
sudo rm /usr/local/bin/chronometer.sh
|
||||||
|
sudo rm /usr/local/bin/whitelist.sh
|
||||||
|
sudo rm /usr/local/bin/piholeLogFlush.sh
|
||||||
|
sudo rm -rf /etc/pihole/
|
Loading…
Reference in New Issue
Block a user