mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Update pialert_uninstall.sh
This commit is contained in:
@@ -51,7 +51,7 @@ main() {
|
|||||||
print_header "Removing Pi.Alert DNS name"
|
print_header "Removing Pi.Alert DNS name"
|
||||||
if [ -f /etc/pihole/custom.list ] ; then
|
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
|
fi
|
||||||
|
|
||||||
# Uninstall crontab jobs
|
# Uninstall crontab jobs
|
||||||
|
|||||||
Reference in New Issue
Block a user