From b014e2c47946960cbd7a14fedcd734e2d87b32d9 Mon Sep 17 00:00:00 2001 From: mveety Date: Tue, 4 Jun 2013 12:52:18 -0400 Subject: [PATCH] added a script to automate downloading and installing of iwl firmware --- rc/bin/iwl-firmware | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 rc/bin/iwl-firmware diff --git a/rc/bin/iwl-firmware b/rc/bin/iwl-firmware new file mode 100644 index 000000000..17080238a --- /dev/null +++ b/rc/bin/iwl-firmware @@ -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.'