Prevent removing permissions on a wifi firmware's subdirs.
Prior to this /boot/system/data/firmware/broadcom43xx/b43-fwcutter would have its w+x bits removed.
This commit is contained in:
parent
174bc1dca0
commit
e8fc340a30
@ -142,7 +142,7 @@ function SetFirmwarePermissions()
|
||||
{
|
||||
cd ${firmwareDir}/${driver}/
|
||||
for file in * ; do
|
||||
if [ "$file" != "$driver" ] ; then
|
||||
if [ "$file" != "$driver" ] && [ -f "$file" ] ; then
|
||||
chmod a=r $file
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user