]> cvs.zerfleddert.de Git - m1-debian/blame - files/wifi.sh
script to extract firmware from ipsw
[m1-debian] / files / wifi.sh
CommitLineData
152a1cd7
TG
1#!/bin/sh
2
3for 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
19done
Impressum, Datenschutz