aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinstall_binary.sh4
-rwxr-xr-xinstall_src.sh2
-rwxr-xr-xunpack.sh7
3 files changed, 10 insertions, 3 deletions
diff --git a/install_binary.sh b/install_binary.sh
index 86a13fb..f8ee8e8 100755
--- a/install_binary.sh
+++ b/install_binary.sh
@@ -15,8 +15,8 @@ git clone --depth 1 http://github.com/bnewbold/dreamplug-libertas_uap /tmp/dpla
cd /tmp/dpla
echo "installing..."
-mkdir -v /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap
-cp -v uap8xxx.ko-3.2.9-kirkwood /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap
+mkdir -pv /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap
+cp -v uap8xxx.ko-3.2.9-kirkwood /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap/uap8xxx.ko
depmod -a
cp -vr firmware/mrvl /lib/firmware/mrvl
cp -v modprobe_libertas_uap.conf /etc/modprobe.d/libertas_uap
diff --git a/install_src.sh b/install_src.sh
index cf5bc13..4a63206 100755
--- a/install_src.sh
+++ b/install_src.sh
@@ -16,7 +16,7 @@ make CONFIG_LIBERTAS_UAP=m -C /lib/modules/$(uname -r)/build M=$(pwd)
echo "installing..."
mkdir -pv /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap
-cp -v uap8xxx.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap
+cp -v uap8xxx.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap/uap8xxx.ko
depmod -a
cd ..
cp -vr firmware/mrvl /lib/firmware/mrvl
diff --git a/unpack.sh b/unpack.sh
new file mode 100755
index 0000000..e2540b2
--- /dev/null
+++ b/unpack.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+mkdir /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap
+cp uap8xxx.ko-3.2.9-kirkwood /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