diff options
Diffstat (limited to 'config/hooks')
-rwxr-xr-x | config/hooks/uap-driver.sh.chroot | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/hooks/uap-driver.sh.chroot b/config/hooks/uap-driver.sh.chroot new file mode 100755 index 0000000..dc2e379 --- /dev/null +++ b/config/hooks/uap-driver.sh.chroot @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +echo "Determining kernel version..." +cd /boot +KERNELVERSION=`ls vmlinuz-* | sed "s/vmlinuz-//g"` +echo $KERNELVERSION + +echo "Installing uap8xxx.ko Marvell WiFi kernel module..." +mkdir -p /lib/modules/$KERNELVERSION/kernel/drivers/net/wireless/libertas_uap +mv /tmp/uap8xxx.ko-$KERNELVERSION /lib/modules/$KERNELVERSION/kernel/drivers/net/wireless/libertas_uap/uap8xxx.ko +depmod -a |