Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
SpudGunMan committed Dec 27, 2024
1 parent 3b73b66 commit cf16cc6
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,15 @@ printf "\nThis script will try and install the Meshing Around Bot and its depend
printf "Installer works best in raspian/debian/ubuntu, if there is a problem, try running the installer again.\n"
printf "\nChecking for dependencies...\n"

# check if running on embedded
printf "\nAre You installing into an embedded system like a luckfox? (y/n)"
read embedded
# if hostname = femtofox, then we are on embedded
if [ $(hostname) == "femtofox" ]; then
printf "\nDetected femtofox embedded system\n"
embedded="y"
else
# check if running on embedded
printf "\nAre You installing into an embedded system like a luckfox? (y/n)"
read embedded
fi

if [ $embedded == "y" ]; then
printf "\nDetected embedded skipping dependency installation\n"
Expand Down

0 comments on commit cf16cc6

Please sign in to comment.