Skip to content

Commit

Permalink
core: tools: Add cable_guy bootstrap with ifmetric
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Jul 4, 2023
1 parent 70accf9 commit e38cc51
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/tools/cable_guy/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

# Exit if something goes wrong
set -e

# Hostapd turns a network wireless interface into a wifi hotspot
echo "Installing ifmetric."
apt update
apt install -y --no-install-recommends ifmetric
1 change: 1 addition & 0 deletions core/tools/install-system-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ parallel --halt now,fail=1 '/home/pi/tools/{}/bootstrap.sh' ::: "${TOOLS[@]}"

# Tools that uses apt to do the installation
# APT is terrible like pip and don't know how to handle parallel installation
/home/pi/tools/cable_guy/bootstrap.sh
/home/pi/tools/dnsmasq/bootstrap.sh
/home/pi/tools/nginx/bootstrap.sh

0 comments on commit e38cc51

Please sign in to comment.