1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-09-10 00:56:35 +00:00

rfkill not installed issue

This commit is contained in:
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) - 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 - Option for Ubuntu (all official flavors) and the numerous Ubuntu based distros

View File

@ -176,7 +176,12 @@ else
fi fi
# unblock wifi # 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 NoPrompt is not used, ask user some questions to complete installation
if [ $NO_PROMPT -ne 1 ] if [ $NO_PROMPT -ne 1 ]