--- magellan-initscripts/etc/rc.d/init.d/hwdetect 2005-08-31 23:46:24.000000000 +0200 +++ magellan-initscripts-alx/etc/rc.d/init.d/hwdetect 2010-10-15 13:02:05.000000000 +0200 @@ -12,6 +12,20 @@ #%before: #%after: +UNSUPPORTED_NETCARD_DRIVERS="ath9k ath5k" + +remove_unsupported_netcard_drivers() +{ + local config="/etc/sysconfig/hwsetup/knoppix" + local driver + + # filter unsupported devices + for driver in ${UNSUPPORTED_NETCARD_DRIVERS} + do + sed -i "/${driver}/d" ${config} + done +} + write_x11_config() { local xserver local xfconfig @@ -393,6 +407,9 @@ echo "lp" >> /etc/modules.autoload.d/kernel-$(kernel_major_version) fi + # fix unsupported netcard drivers from knoppix config + remove_unsupported_netcard_drivers + # get what hwsetup has found if [ -f /etc/sysconfig/hwsetup/knoppix ] then