mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
Move FTL re-parsing call after dnsmasq restart
This commit is contained in:
parent
b9ae01d819
commit
8dba2a88e2
6
pihole
6
pihole
@ -346,9 +346,6 @@ restartDNS() {
|
|||||||
svc="service dnsmasq ${svcOption}"
|
svc="service dnsmasq ${svcOption}"
|
||||||
fi
|
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
|
# Print output to Terminal, but not to Web Admin
|
||||||
str="${svcOption^}ing DNS service"
|
str="${svcOption^}ing DNS service"
|
||||||
[[ -t 1 ]] && echo -ne " ${INFO} ${str}..."
|
[[ -t 1 ]] && echo -ne " ${INFO} ${str}..."
|
||||||
@ -362,6 +359,9 @@ restartDNS() {
|
|||||||
[[ ! -t 1 ]] && local OVER=""
|
[[ ! -t 1 ]] && local OVER=""
|
||||||
echo -e "${OVER} ${CROSS} ${output}"
|
echo -e "${OVER} ${CROSS} ${output}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Send signal to FTL to have it re-parse the gravity files
|
||||||
|
killall -s SIGHUP pihole-FTL
|
||||||
}
|
}
|
||||||
|
|
||||||
piholeEnable() {
|
piholeEnable() {
|
||||||
|
Loading…
Reference in New Issue
Block a user