]>
cvs.zerfleddert.de Git - m1-debian/blob - files/wifi.pl
4 use warnings FATAL
=> 'all';
6 my $firmware_tarball = '/mnt/vendorfw/firmware.tar';
10 if (/^([^:]+):.*vfat/) {
11 push @vfat_devices, $1;
15 for my $dev (@vfat_devices) {
16 system("mount -o ro $dev /mnt");
17 if (-f
$firmware_tarball) {
18 system("tar -C /lib/firmware/ -xf $firmware_tarball");
19 unlink('/etc/modprobe.d/blacklist.conf');
20 system('modprobe brcmfmac');
22 system('umount /mnt');