Last active
February 8, 2026 20:02
-
-
Save mbierman/9ac6a35622ee5a0c631ed6f6ad74b722 to your computer and use it in GitHub Desktop.
Install Speedtest for firewalla
This file contains hidden or 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
| !/bin/bash | |
| # 3.0 | |
| # https://gist.github.com/mbierman/9ac6a35622ee5a0c631ed6f6ad74b722 | |
| # Put this script in ~/.firewalla/config/post_main.d in order to resinstall after upgrades | |
| dir=/data | |
| log=/data/logs/fw_reboot.txt | |
| if ! [ -w $log ] ; then | |
| sudo touch $log | |
| sudo chmod a+w $log | |
| fi | |
| app=speedtest | |
| applocation=/usr/bin/$app | |
| edate=$(date +'%a %b %d %H:%M:%S %Z %Y') | |
| install () { | |
| unalias apt-get 2>/dev/null || true | |
| curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | sudo bash | |
| sudo apt-get install -yq $app | |
| echo -e "$edate $app instaleld!" | tee -a $log | |
| } | |
| install |
Author
Author
Michael - I made some edits to the gist to add in automatic architecture detection and some cleanup on the unpacking portion. Let me know if you are interested in the edits and I can see about uploading them to the gist.
Author
@chezdude2010 sure, great.
Author
curl -s -L -C- https://gist.githubusercontent.com/mbierman/9ac6a35622ee5a0c631ed6f6ad74b722/raw/ddf3ac5e2dc6102b1f560656fff8320586872c80/install_speedtest.sh | cat <(cat <(bash))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You’re welcome! Glad you found it useful.