rfkill not installed issue

pull/19/head
morrownr 2022-11-19 22:57:12 -06:00
parent 9a4732c8a0
commit 523b6ac4f3
2 changed files with 7 additions and 2 deletions

View File

@ -240,7 +240,7 @@ sudo apt install -y raspberrypi-kernel-headers build-essential bc dkms git
- Option for Debian, Kali, and Raspberry Pi Desktop (x86)
```
sudo apt install -y linux-headers-$(uname -r) build-essential bc dkms git libelf-dev
sudo apt install -y linux-headers-$(uname -r) build-essential bc dkms git libelf-dev rfkill
```
- Option for Ubuntu (all official flavors) and the numerous Ubuntu based distros

View File

@ -176,7 +176,12 @@ else
fi
# unblock wifi
rfkill unblock wlan
if command -v rfkill >/dev/null 2>&1
then
rfkill unblock wlan
else
echo "Unable to run $ rfkill unblock wlan"
fi
# if NoPrompt is not used, ask user some questions to complete installation
if [ $NO_PROMPT -ne 1 ]