Create firmware directory if it doesn't exist

This commit is contained in:
Bob Mottram 2016-10-21 13:36:41 +01:00
parent a7bd479d25
commit 426585b25a
1 changed files with 4 additions and 1 deletions

View File

@ -49,7 +49,10 @@ function setup_wifi_atheros {
fi
fi
if [ ! -d /lib/firmware ]; then
return
mkdir /lib/firmware
if [ ! -d /lib/firmware ]; then
return
fi
fi
if [ -f /lib/firmware/htc_9271.fw ]; then
return