# HG changeset patch # User Christophe Lincoln # Date 1228165395 -3600 # Node ID ea125bdc088879ed0a91c1adda3ef55dce60f9b6 # Parent 81e6e80b5ad447c4c30526b68bfdc3c58621d4b1 network: ndiswrapper driver is installed only once and mod load with LOAD_MODULES diff -r 81e6e80b5ad4 -r ea125bdc0888 etc/init.d/network.sh --- a/etc/init.d/network.sh Sun Nov 30 08:46:58 2008 +0000 +++ b/etc/init.d/network.sh Mon Dec 01 22:03:15 2008 +0100 @@ -42,14 +42,6 @@ # For wifi. Users just have to enable it throught yes and usually # essid any will work and interface is autodetected. if [ "$WIFI" = "yes" ] || grep -q "wifi" /proc/cmdline; then - if [ -n "$NDISWRAPPER_DRIVERS" -a -x /usr/sbin/ndiswrapper ]; then - for i in $NDISWRAPPER_DRIVERS; do - ndiswrapper -i $i - done - echo -n "Loading ndiswrapper module..." - modprobe ndiswrapper - status - fi if [ ! -d /sys/class/net/$WIFI_INTERFACE/wireless ]; then echo "$WIFI_INTERFACE is not a wifi interface, changing it." WIFI_INTERFACE=$(grep : /proc/net/dev | cut -d: -f1 | \ diff -r 81e6e80b5ad4 -r ea125bdc0888 etc/network.conf --- a/etc/network.conf Sun Nov 30 08:46:58 2008 +0000 +++ b/etc/network.conf Mon Dec 01 22:03:15 2008 +0100 @@ -36,4 +36,3 @@ WPA_DRIVER="" WIFI_CHANNEL="" WIFI_IWCONFIG_ARGS="" -NDISWRAPPER_DRIVERS=""