pihole: label blocked angepasst
This commit is contained in:
parent
a77b262ef3
commit
2880cc98fd
1 changed files with 3 additions and 3 deletions
6
extern/pihole/pihole_ads_percentage
vendored
6
extern/pihole/pihole_ads_percentage
vendored
|
@ -17,16 +17,16 @@ stats=$(echo $apicall | sed 's/[{}"]//g' | tr "," "\n")
|
|||
|
||||
case $1 in
|
||||
config)
|
||||
echo "graph_title Pihole today ads"
|
||||
echo "graph_title Pihole blocked ads"
|
||||
echo "graph_vlabel %"
|
||||
echo "graph_category pihole"
|
||||
echo "graph_info This graph shows the Pihole percentage of todays ads."
|
||||
echo "graph_info This graph shows the Pihole percentage of blocked ads."
|
||||
|
||||
for stat in $stats
|
||||
do
|
||||
uid=$(echo $stat | sed 's/:.*//')
|
||||
if [ $uid = "ads_percentage_today" ]; then
|
||||
echo "$uid.label today ads %"
|
||||
echo "$uid.label blocked ads"
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue