aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2012-11-22 01:48:18 +0100
committerbnewbold <bnewbold@robocracy.org>2012-11-22 01:48:18 +0100
commitdbb6c86736d2dd1581e8bbe6a3c9c436c7481d3a (patch)
treea7cbb1f08293a9f69870f67ef9c296c53e95e853
parent1750c073d593e3f0467874188ada496c2263c81e (diff)
downloaddreamplug-libertas_uap-dbb6c86736d2dd1581e8bbe6a3c9c436c7481d3a.tar.gz
dreamplug-libertas_uap-dbb6c86736d2dd1581e8bbe6a3c9c436c7481d3a.zip
old script updates
-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