summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/05-ndis
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/05-ndis')
-rwxr-xr-xconfig/chroot_local-hooks/05-ndis6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/05-ndis b/config/chroot_local-hooks/05-ndis
index 306c6d5..c6bebff 100755
--- a/config/chroot_local-hooks/05-ndis
+++ b/config/chroot_local-hooks/05-ndis
@@ -1,3 +1,9 @@
#!/bin/sh
+[ -f /root/build.conf ] && . /root/build.conf
+if [ "$LH_ARCHITECTURE" = "amd64" ]; then
wget -qO- http://kanotix.com/files/fix/ndiswrapper/ndiswrapper64-fwlan64.tar.gz|tar zxC /etc
+else
+wget -qO- http://kanotix.com/files/fix/ndiswrapper/ndiswrapper-fwlan.tar.gz|tar zxC /etc
+#wget -qO- http://kanotix.com/files/fix/ndiswrapper/ndiswrapper-netmw225.tar.gz|tar zxC /etc
+fi
ndiswrapper -ma