Skip to content

Commit

Permalink
get log from volume
Browse files Browse the repository at this point in the history
  • Loading branch information
ipitio committed Feb 13, 2024
1 parent 62e3de2 commit b8bfbf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api_speedtest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
} else {
$cmdStatus = 'systemctl status pihole-speedtest.timer';
}
$cmdRun = '[[ -f /tmp/speedtest.log ]] && cat /tmp/speedtest.log || { [[ -f /var/log/pihole/speedtest.log ]] && cat /var/log/pihole/speedtest.log || echo ""; }';
$cmdRun = '[[ -f /tmp/speedtest.log ]] && cat /tmp/speedtest.log || { [[ -f /etc/pihole/speedtest.log ]] && cat /etc/pihole/speedtest.log || echo ""; }';
$cmdServersCurl = "curl 'https://c.speedtest.net/speedtest-servers-static.php' --compressed -H 'Upgrade-Insecure-Requests: 1' -H 'DNT: 1' -H 'Sec-GPC: 1'";
$cmdServersJSON = "curl 'https://www.speedtest.net/api/js/servers' --compressed -H 'Upgrade-Insecure-Requests: 1' -H 'DNT: 1' -H 'Sec-GPC: 1'";

Expand Down

0 comments on commit b8bfbf6

Please sign in to comment.