#!/bin/sh
[ -x /usr/sbin/ndiswrapper ] || exit 0
for file in /root/config/*; do [ -r $file ] && . $file; done
if [ "$LB_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