Update pialert_uninstall.sh

This commit is contained in:
pucherot
2021-04-11 11:47:39 +02:00
parent bdbd536cdd
commit 8b94a98466

View File

@@ -49,8 +49,10 @@ main() {
# Removing # Removing
print_header "Removing Pi.Alert DNS name" print_header "Removing Pi.Alert DNS name"
if [ -f /etc/pihole/custom.list ] ; then
# sudo sed -i '/pi.alert/d' /etc/pihole/custom.list 2>&1 >> "$LOG" # sudo sed -i '/pi.alert/d' /etc/pihole/custom.list 2>&1 >> "$LOG"
# sudo pihole restartdns 2>&1 >> "$LOG" # sudo pihole restartdns 2>&1 >> "$LOG"
fi
# Uninstall crontab jobs # Uninstall crontab jobs
print_header "Removing crontab jobs" print_header "Removing crontab jobs"