X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/f493aec296f00ac485a22e68a66c76ab4623796a..70ae962c00a0133940a041b8e6b75e9aad148eb2:/files/wifi.pl?ds=sidebyside diff --git a/files/wifi.pl b/files/wifi.pl index dad4758..b914c60 100755 --- a/files/wifi.pl +++ b/files/wifi.pl @@ -3,7 +3,7 @@ use strict; use warnings FATAL => 'all'; -my $firmware_tarball = '/mnt/linux-firmware.tar'; +my $firmware_tarball = '/mnt/vendorfw/firmware.tar'; my @vfat_devices; for (`blkid`) { @@ -14,7 +14,7 @@ for (`blkid`) { for my $dev (@vfat_devices) { system("mount -o ro $dev /mnt"); - if (test -f $firmware_tarball) { + if (-f $firmware_tarball) { system("tar -C /lib/firmware/ -xf $firmware_tarball"); system('rmmod brcmfmac'); system('rmmod brcmutil');