]> cvs.zerfleddert.de Git - m1-debian/blame_incremental - files/wifi.sh
update to most recent stable version
[m1-debian] / files / wifi.sh
... / ...
CommitLineData
1#!/bin/sh
2
3FIRMWARE=/mnt/vendorfw/firmware.tar
4
5for 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
21done
Impressum, Datenschutz