change restartdnsmasq to restartdns

This commit is contained in:
Tommy Huff
2016-10-20 09:40:45 -04:00
parent dda448e050
commit 3ca3eaa62c
2 changed files with 3 additions and 3 deletions

4
pihole
View File

@@ -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