]> cvs.zerfleddert.de Git - m1-debian/blob - files/wifi.sh
manual merge
[m1-debian] / files / wifi.sh
1 #!/bin/sh
2
3 FIRMWARE=/mnt/vendorfw/firmware.tar
4
5 for DEVICE in /dev/nvme0n1p4 /dev/nvme0n1p5 /dev/nvme0n1p6; do
6 mount -o ro -t vfat $DEVICE /mnt;
7 if test -f ${FIRMWARE}; then
8 tar -C /lib/firmware -xf ${FIRMWARE}
9 rmmod brcmfmac
10 rmmod brcmutil
11 sleep 1
12 modprobe brcmfmac
13 sleep 1
14 rmmod brcmfmac
15 sleep 1
16 modprobe brcmfmac
17 umount /mnt
18 exit
19 fi
20 umount /mnt
21 done
Impressum, Datenschutz