X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/7a08e3cf25f05ed3968ee0c9b424684a69541484..39711dd5c50f3c14a790f28d3fe8a4d6c60935c8:/files/rc.local

diff --git a/files/rc.local b/files/rc.local
index 74780d4..cb4e021 100755
--- a/files/rc.local
+++ b/files/rc.local
@@ -107,13 +107,7 @@ update_wifi_firmware_if_necessary
         system("sha256sum $firmware_tarball > $firmware_manifest");
         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');
 }