diff options
Diffstat (limited to 'uap_hack/dreamplug_libertas')
-rwxr-xr-x | uap_hack/dreamplug_libertas/install.sh | 17 | ||||
-rwxr-xr-x | uap_hack/dreamplug_libertas/install_3.2.0-3-kirkwood.sh | 16 | ||||
-rwxr-xr-x | uap_hack/dreamplug_libertas/install_3.2.9-kirkwood.sh | 16 |
3 files changed, 17 insertions, 32 deletions
diff --git a/uap_hack/dreamplug_libertas/install.sh b/uap_hack/dreamplug_libertas/install.sh new file mode 100755 index 0000000..0046a5a --- /dev/null +++ b/uap_hack/dreamplug_libertas/install.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +set -e + +if [ -n "$1" ] +then + kernelversion=$1 +else + echo "Need to specify a kernel version!" > /dev/stderr + exit 1 +fi + +mkdir -p /lib/modules/$kernelversion/kernel/drivers/net/wireless/libertas_uap +cp uap8xxx.ko-$kernerlversion /lib/modules/$kernelversion/kernel/drivers/net/wireless/libertas_uap/uap8xxx.ko +depmod -a +cp -r firmware/mrvl /lib/firmware/mrvl +cp modprobe_libertas_uap.conf /etc/modprobe.d/libertas_uap diff --git a/uap_hack/dreamplug_libertas/install_3.2.0-3-kirkwood.sh b/uap_hack/dreamplug_libertas/install_3.2.0-3-kirkwood.sh deleted file mode 100755 index 2078d1a..0000000 --- a/uap_hack/dreamplug_libertas/install_3.2.0-3-kirkwood.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -set -e - -if ! [ `uname -r` = "3.2.0-3-kirkwood" ] -then - echo "Got: `uname -r`, need 3.2.0-3-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 diff --git a/uap_hack/dreamplug_libertas/install_3.2.9-kirkwood.sh b/uap_hack/dreamplug_libertas/install_3.2.9-kirkwood.sh deleted file mode 100755 index 47d6902..0000000 --- a/uap_hack/dreamplug_libertas/install_3.2.9-kirkwood.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/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 |