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

View file

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