From 3ca3eaa62cd229dd4ead714af6ad2b4f2f111419 Mon Sep 17 00:00:00 2001 From: Tommy Huff Date: Thu, 20 Oct 2016 09:40:45 -0400 Subject: [PATCH] change restartdnsmasq to restartdns --- gravity.sh | 2 +- pihole | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gravity.sh b/gravity.sh index d51cc814..cdcf486c 100755 --- a/gravity.sh +++ b/gravity.sh @@ -322,7 +322,7 @@ gravity_reload() { # sed -i "s/^addn-hosts.*/addn-hosts=$adList/" /etc/dnsmasq.d/01-pihole.conf find "$piholeDir" -type f -exec chmod 666 {} \; - pihole restartdnsmasq + pihole restartdns } for var in "$@" diff --git a/pihole b/pihole index 1651ac9c..bd49f63d 100755 --- a/pihole +++ b/pihole @@ -165,7 +165,7 @@ helpFunc() { echo "::: status Is Pi-Hole Enabled or Disabled" echo "::: enable Enable Pi-Hole DNS Blocking" echo "::: disable Disable Pi-Hole DNS Blocking" - echo "::: restartdnsmasq Restart dnsmasq" + echo "::: restartdns Restart dnsmasq" exit 0 } @@ -191,7 +191,7 @@ case "$1" in "enable" ) piholeEnable 1;; "disable" ) piholeEnable 0;; "status" ) piholeStatus "$2";; -"restartdnsmasq" ) restartDNS;; +"restartdns" ) restartDNS;; * ) helpFunc;; esac