Try run next ######################## cat > /sbin/modprobe.sh <<EOF #!/bin/bash if [[ \$1 == -l ]] then if [ -z \$2 ] then find /lib/modules/\$(uname -r) -name '*.ko' | sed -e "s#\/lib\/modules\/\$(uname -r)\/##g" else find /lib/modules/\$(uname -r) -name '*.ko' | sed -e "s#\/lib\/modules\/\$(uname -r)\/##g" | grep \$2 fi else /sbin/modprobe \$@ fi EOF chmod +x /sbin/modprobe.sh alias modprobe=/sbin/modprobe.sh echo "alias modprobe=/sbin/modprobe.sh" >> /etc/bash.bashrc cp Makefile Makefile.save sed -i -e 's/^MODPROBE.*/MODPROBE := \/sbin\/modprobe.sh/g' Makefile -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html