X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/7022d096c61fc3ef85ed723e677a474b2f320f58..cd8467f7d431fb773a9c36b5ec4fb14676d605ea:/files/wifi.pl?ds=sidebyside diff --git a/files/wifi.pl b/files/wifi.pl index b914c60..a8cb6c3 100755 --- a/files/wifi.pl +++ b/files/wifi.pl @@ -16,15 +16,8 @@ for my $dev (@vfat_devices) { system("mount -o ro $dev /mnt"); if (-f $firmware_tarball) { system("tar -C /lib/firmware/ -xf $firmware_tarball"); - system('rmmod brcmfmac'); - system('rmmod brcmutil'); - sleep(1); - system('modprobe brcmfmac'); - sleep(1); - system('rmmod brcmfmac'); - sleep(1); + unlink('/etc/modprobe.d/blacklist.conf'); system('modprobe brcmfmac'); } system('umount /mnt'); - }