]> git.zerfleddert.de Git - m1-debian/blame - fwx.sh
add a sanity check that checks if it runs as root
[m1-debian] / fwx.sh
CommitLineData
81fc7d46
TG
1mkdir -p /tmp/fwx
2cd /tmp/fwx
3curl -sL https://tg.st/u/installer.tar.gz | tar xzf -
4
5export LC_ALL=C
6export LANG=C
7
8export DYLD_LIBRARY_PATH=$PWD/Frameworks/Python.framework/Versions/Current/lib
9export DYLD_FRAMEWORK_PATH=$PWD/Frameworks
81fc7d46 10export SSL_CERT_FILE=$PWD/Frameworks/Python.framework/Versions/Current/etc/openssl/cert.pem
3ada1353 11export PATH="$PWD/Frameworks/Python.framework/Versions/3.9/bin:$PATH"
81fc7d46
TG
12
13python3 -m firmware.wifi /usr/share/firmware/wifi /tmp/linux-firmware.tar
d9d5c2d2
TG
14
15echo Firmware is in /tmp/linux-firmware.tar
Impressum, Datenschutz