Update pialert_uninstall.sh
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user