added a script to automate downloading and installing of iwl firmware
This commit is contained in:
parent
60fd776d37
commit
b014e2c479
1 changed files with 13 additions and 0 deletions
13
rc/bin/iwl-firmware
Normal file
13
rc/bin/iwl-firmware
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/rc
|
||||||
|
rfork e
|
||||||
|
|
||||||
|
webfs ; cd /tmp
|
||||||
|
echo -n 'Downloading firmware...'
|
||||||
|
hget http://firmware.openbsd.org/firmware/iwn-firmware-5.7.tgz > firmware.tgz
|
||||||
|
echo -n 'extracting...'
|
||||||
|
tar xzf firmware.tgz
|
||||||
|
echo -n 'installing...'
|
||||||
|
dircp firmware /lib/firmware
|
||||||
|
echo -n 'cleaning up...'
|
||||||
|
rm -rf firmware +CONTENTS +DESC
|
||||||
|
echo 'done.'
|
Loading…
Reference in a new issue