pihole: label 2
This commit is contained in:
parent
2880cc98fd
commit
d9c8a28716
1 changed files with 2 additions and 2 deletions
4
extern/pihole/pihole_ads_percentage
vendored
4
extern/pihole/pihole_ads_percentage
vendored
|
@ -20,13 +20,13 @@ case $1 in
|
||||||
echo "graph_title Pihole blocked ads"
|
echo "graph_title Pihole blocked ads"
|
||||||
echo "graph_vlabel %"
|
echo "graph_vlabel %"
|
||||||
echo "graph_category pihole"
|
echo "graph_category pihole"
|
||||||
echo "graph_info This graph shows the Pihole percentage of blocked ads."
|
echo "graph_info This graph shows the Pihole percentage of blocked queries."
|
||||||
|
|
||||||
for stat in $stats
|
for stat in $stats
|
||||||
do
|
do
|
||||||
uid=$(echo $stat | sed 's/:.*//')
|
uid=$(echo $stat | sed 's/:.*//')
|
||||||
if [ $uid = "ads_percentage_today" ]; then
|
if [ $uid = "ads_percentage_today" ]; then
|
||||||
echo "$uid.label blocked ads"
|
echo "$uid.label blocked queries"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue