1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-01-03 20:50:56 +00:00

Move FTL querying before clearing the terminal to avoid flashing on Pi B+

This commit is contained in:
DL6ER 2017-03-07 18:10:05 +01:00
parent 4e25e0dc5c
commit 10bc8414b9
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

View File

@ -55,6 +55,8 @@ get_summary_data() {
normalChrono() {
for (( ; ; )); do
get_summary_data
domain=$(GetFTLData recentBlocked)
clear
# Displays a colorful Pi-hole logo
echo " ___ _ _ _"
@ -72,7 +74,6 @@ normalChrono() {
echo "Recently blocked:"
echo " $domain"
get_summary_data
echo "Blocking: ${domains_being_blocked}"
echo "Queries: ${dns_queries_today}"
echo "Pi-holed: ${ads_blocked_today} (${ads_percentage_today}%)"