Instruktaż/Tutorial PiHole stats

U

Usunięty użytkownik pigers

Guest
pigers opublikował nowe elementy w zasobach:

PiHole stats (wersja 1.0) - pihole,bash,script

Bash:
#Setting section
SERVER=192.168.88.220
API="summaryRaw"
#end of settings section

#check for required software
command -v curl >/dev/null 2>&1 || { echo "I require curl but it's not installed.  Aborting." >&2; exit 1; }
command -v jq >/dev/null 2>&1 || { echo "I require jq but it's not installed.  Aborting." >&2; exit 1; }

if [[ $1 == "--help" ]]; then
echo "Execute script as $0"
echo "Requires to work: curl,jq"
exit 0
fi

if [[ $1 == "--debug" ]]; then
echo "Server -> $SERVER"...

Czytaj więcej...
 
upload_2020-9-27_17-7-53.png


upload_2020-9-27_17-8-9.png


upload_2020-9-27_17-8-25.png