Last active
April 12, 2023 16:27
-
-
Save mbierman/ced69a41181637995f61323e7ac97cba to your computer and use it in GitHub Desktop.
installation of various tools on Firewalla
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
#!/bin/bash | |
# v 1.01 | |
# https://gist.githubusercontent.com/mbierman/ced69a41181637995f61323e7ac97cba/raw/214028a0430b5a54788ca727849aca84f0aed594/install_FWToys.sh | |
dir="/home/pi/.firewalla/config/post_main.d/" | |
app="install_sshpass.sh" | |
cd $dir | |
if [ ! -f "$dir$app" ]; then | |
echo -e "\n installing $app..." | |
curl -o $app https://gist.githubusercontent.com/mbierman/362193a8cfaf14361945c27c48692d50/raw/e1bdab24074fdb38f8243eb1c2d606317c77ec3b/install_sshpass.sh | |
chmod +x $dir$app && echo -e "\n$app installed." | |
else | |
echo -e "\n$app already in place." | |
fi | |
app="install_speedtest.sh" | |
if [ ! -f "$dir$app" ]; then | |
echo -e "\n installing $app" | |
curl -o $app https://gist.githubusercontent.com/mbierman/9ac6a35622ee5a0c631ed6f6ad74b722/raw/4d58d9de6a7eae254e5573abc3f86d370fbc8f6a/install_speedtest.sh | |
chmod +x $dir$app && echo -e "\n$app installed." | |
else | |
echo -e "\n$app already in place." | |
fi | |
app="install_sensors.sh" | |
if [ ! -f "$dir/$app" ]; then | |
echo -e "\n installing $app" | |
curl -o $app https://gist.githubusercontent.com/mbierman/bc6b9f11c82f6fd7efdafac269fb058d/raw/4b6e65e6a282d346f85f0b4b97275a1956da97c3/install%2520lm_sensors.sh | |
chmod +x $dir$app && echo -e "\n$app installed." | |
else | |
echo -e "\n$app already in place." | |
fi | |
app="install_iftop.sh" | |
if [ ! -f "$dir/$app" ]; then | |
echo -e "\n installing $app" | |
curl -o $app https://gist.githubusercontent.com/mbierman/b0267303c15e0f2ac4018f21ee107dc4/raw/7057c3d2fd87a6b5a3bb4404335c58a1ea3f7a8d/install_iftop.sh | |
chmod +x $dir$app && echo -e "\n$app installed." | |
else | |
echo -e "\n$app already in place." | |
fi | |
app="install_htop.sh" | |
if [ ! -f "$dir/$app" ]; then | |
echo -e "\n installing $app" | |
curl -o $app https://gist.githubusercontent.com/mbierman/561643e89e98137ea5f11f02a0f3ccd2/raw/9367cbd90e4c1e1112fc64cc36fd03909222291e/install_htop.sh | |
chmod +x $dir$app && echo -e "\n$app installed." | |
else | |
echo -e "\n$app already in place." | |
fi | |
echo -e "\n\nInstalling the apps" | |
for f in $dir*.sh; do | |
echo running $f | |
bash "$f" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script will install the following on your firewalla:
These will persist even after firewalla upgrades.
Installation & Persistance
Firewalla may remove anything installed after upgrades, so you can install a script to reinstall for you after firewalla upgrades and possibly some reboots.