diff options
author | ficus <ficus@robocracy.org> | 2012-09-24 16:27:57 +0200 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-09-24 16:27:57 +0200 |
commit | 509aec268e05287b53c8047b6a99edbc43d7371e (patch) | |
tree | 35b9e507a91ad8e24b695e65e1942c8dc01d43dc /uap_hack/dreamplug_libertas/install_3.2.9-kirkwood.sh | |
parent | 86ab91c3f7eb1bf8e7989d3793e37fa52741b892 (diff) | |
download | torouter-509aec268e05287b53c8047b6a99edbc43d7371e.tar.gz torouter-509aec268e05287b53c8047b6a99edbc43d7371e.zip |
add uap hack for 3.2.0-3-kirkwood
Diffstat (limited to 'uap_hack/dreamplug_libertas/install_3.2.9-kirkwood.sh')
-rwxr-xr-x | uap_hack/dreamplug_libertas/install_3.2.9-kirkwood.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/uap_hack/dreamplug_libertas/install_3.2.9-kirkwood.sh b/uap_hack/dreamplug_libertas/install_3.2.9-kirkwood.sh new file mode 100755 index 0000000..47d6902 --- /dev/null +++ b/uap_hack/dreamplug_libertas/install_3.2.9-kirkwood.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +if ! [ `uname -r` = "3.2.9-kirkwood" ] +then + echo "Got: `uname -r`, need 3.2.9-kirkwood" + echo "Wrong kernel version, binary module won't work. Try a source install?" + exit 1 +fi + +mkdir /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap +cp uap8xxx.ko-$(uname -r) /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap +depmod -a +cp -r firmware/mrvl /lib/firmware/mrvl +cp modprobe_libertas_uap.conf /etc/modprobe.d/libertas_uap |