This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NO LONGER MAINTAINED | |
# SEE https://gist.github.com/sparanoid/abb6e26d968accef9aa2 FOR UPDATE | |
DES_PATH=/usr/share | |
PUB_PATH=/srv/www/domain.tld/public_html | |
ST_DIR=speedtest | |
wget http://c.speedtest.net/mini/mini.zip -O $DES_PATH/$ST_DIR.zip --limit-rate=200000k | |
unzip -o $DES_PATH/$ST_DIR.zip -d $DES_PATH/$ST_DIR | |
# Remove old public files |