]> git.zerfleddert.de Git - m1-debian/blob - files/wifi.sh
work in progress
[m1-debian] / files / wifi.sh
1 #!/bin/sh
2
3 for DEVICE in /dev/sda1; do
4 mount -o ro $DEVICE /mnt;
5 if test -f /mnt/linux-firmware.tar; then
6 tar -C /lib/firmware -xf /mnt/linux-firmware.tar
7 rmmod brcmfmac
8 rmmod brcmutil
9 sleep 1
10 modprobe brcmfmac
11 sleep 1
12 rmmod brcmfmac
13 sleep 1
14 modprobe brcmfmac
15 umount /mnt
16 exit
17 fi
18 umount /mnt
19 done
Impressum, Datenschutz