blob: f7174093f4e872932939bbfcad49324f8a167734 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
set -e
if [ -n "$1" ]
then
kernelversion=$1
echo "Installing libertas_uap for kernel version: $kernelversion"
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-$kernelversion /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
|