Move FTL re-parsing call after dnsmasq restart

pull/1751/head
Mcat12 7 years ago committed by GitHub
parent b9ae01d819
commit 8dba2a88e2

@ -346,9 +346,6 @@ restartDNS() {
svc="service dnsmasq ${svcOption}"
fi
# Send signal to FTL to have it re-parse the gravity files
killall -s SIGHUP pihole-FTL
# Print output to Terminal, but not to Web Admin
str="${svcOption^}ing DNS service"
[[ -t 1 ]] && echo -ne " ${INFO} ${str}..."
@ -362,6 +359,9 @@ restartDNS() {
[[ ! -t 1 ]] && local OVER=""
echo -e "${OVER} ${CROSS} ${output}"
fi
# Send signal to FTL to have it re-parse the gravity files
killall -s SIGHUP pihole-FTL
}
piholeEnable() {

Loading…
Cancel
Save