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

pull/1308/head
DL6ER 7 years ago
parent 4e25e0dc5c
commit 10bc8414b9
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

@ -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}%)"

Loading…
Cancel
Save