]>
cvs.zerfleddert.de Git - m1-debian/blob - files/wifi.pl
dad4758959552c524f501a5d206cd3310e02837d
4 use warnings FATAL
=> 'all';
6 my $firmware_tarball = '/mnt/linux-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 (test
-f
$firmware_tarball) {
18 system("tar -C /lib/firmware/ -xf $firmware_tarball");
19 system('rmmod brcmfmac');
20 system('rmmod brcmutil');
22 system('modprobe brcmfmac');
24 system('rmmod brcmfmac');
26 system('modprobe brcmfmac');
28 system('umount /mnt');