Skip to content

Commit

Permalink
docker hack fix (#91)
Browse files Browse the repository at this point in the history
* docker hack fix
  • Loading branch information
ipitio authored Mar 5, 2024
1 parent 4ce673b commit 4596f82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions advanced/Scripts/webpage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -623,8 +623,8 @@ schedule=\$(grep "SPEEDTESTSCHEDULE" "$setupVars" | cut -f2 -d"=")
SKIP_MOD=true
source /opt/pihole/speedtestmod/mod.sh
# if "pihole -v" includes "N/A", update the mod
if [[ "\$(/usr/local/bin/pihole -v)" == *"N/A"* ]]; then
# if "pihole -v" includes "N/A" or doesn't include "speedtest", download the mod
if [[ "\$(/usr/local/bin/pihole -v)" == *"N/A"* ]] || [[ "\$(/usr/local/bin/pihole -v)" != *"speedtest"* ]]; then
download /etc/pihole speedtest https://github.com/arevindh/pihole-speedtest
pihole updatechecker
fi
Expand Down

0 comments on commit 4596f82

Please sign in to comment.