firmware conditions

This commit is contained in:
Bob Mottram 2016-10-21 13:46:40 +01:00
parent 426585b25a
commit 53b9be1418
1 changed files with 3 additions and 1 deletions

View File

@ -45,8 +45,10 @@ function setup_wifi_atheros {
if [ ! -f ~/freedombone/$atheros_drivers_file ]; then
return
else
atheros_drivers_file=drivers/$atheros_drivers_file
atheros_drivers_file=~/freedombone/$atheros_drivers_file
fi
else
atheros_drivers_file=$(pwd)/$atheros_drivers_file
fi
if [ ! -d /lib/firmware ]; then
mkdir /lib/firmware