added a script to automate downloading and installing of iwl firmware

This commit is contained in:
mveety 2013-06-04 12:52:18 -04:00
parent 60fd776d37
commit b014e2c479

13
rc/bin/iwl-firmware Normal file
View 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.'