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:
parent
4e25e0dc5c
commit
10bc8414b9
@ -55,6 +55,8 @@ get_summary_data() {
|
|||||||
|
|
||||||
normalChrono() {
|
normalChrono() {
|
||||||
for (( ; ; )); do
|
for (( ; ; )); do
|
||||||
|
get_summary_data
|
||||||
|
domain=$(GetFTLData recentBlocked)
|
||||||
clear
|
clear
|
||||||
# Displays a colorful Pi-hole logo
|
# Displays a colorful Pi-hole logo
|
||||||
echo " [0;1;35;95m_[0;1;31;91m__[0m [0;1;33;93m_[0m [0;1;34;94m_[0m [0;1;36;96m_[0m"
|
echo " [0;1;35;95m_[0;1;31;91m__[0m [0;1;33;93m_[0m [0;1;34;94m_[0m [0;1;36;96m_[0m"
|
||||||
@ -72,7 +74,6 @@ normalChrono() {
|
|||||||
echo "Recently blocked:"
|
echo "Recently blocked:"
|
||||||
echo " $domain"
|
echo " $domain"
|
||||||
|
|
||||||
get_summary_data
|
|
||||||
echo "Blocking: ${domains_being_blocked}"
|
echo "Blocking: ${domains_being_blocked}"
|
||||||
echo "Queries: ${dns_queries_today}"
|
echo "Queries: ${dns_queries_today}"
|
||||||
echo "Pi-holed: ${ads_blocked_today} (${ads_percentage_today}%)"
|
echo "Pi-holed: ${ads_blocked_today} (${ads_percentage_today}%)"
|
||||||
|
Loading…
Reference in New Issue
Block a user