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:
Matt Madia
2012-06-17 16:24:41 -04:00
parent 174bc1dca0
commit e8fc340a30
+1 -1
View File
@@ -142,7 +142,7 @@ function SetFirmwarePermissions()
{ {
cd ${firmwareDir}/${driver}/ cd ${firmwareDir}/${driver}/
for file in * ; do for file in * ; do
if [ "$file" != "$driver" ] ; then if [ "$file" != "$driver" ] && [ -f "$file" ] ; then
chmod a=r $file chmod a=r $file
fi fi
done done