Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install: Check for rfkill before running it #2022

Merged
merged 1 commit into from Sep 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 5 additions & 2 deletions install/install.sh
Expand Up @@ -89,8 +89,11 @@ else
echo "Skipping hardware configuration"
fi

echo "Checking for blocked wifi and bluetooth."
rfkill unblock all
# There are systems where rfkill does not exist, like SBC without wifi/BT
command -v rfkill && (
echo "Checking for blocked wifi and bluetooth."
rfkill unblock all
)

# Get the number of free blocks and the block size in bytes, and calculate the value in GB
echo "Checking for available space."
Expand Down