From dbb6c86736d2dd1581e8bbe6a3c9c436c7481d3a Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 22 Nov 2012 01:48:18 +0100 Subject: old script updates --- install_binary.sh | 4 ++-- install_src.sh | 2 +- unpack.sh | 7 +++++++ 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100755 unpack.sh 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 -- cgit v1.2.3