--- alx-src/branches/alxconf_20060908/init.d/alxsettings 2011/04/13 12:39:28 1799 +++ alx-src/branches/alxconf-060/init.d/alxsettings 2011/04/14 19:29:35 1800 @@ -672,6 +672,7 @@ preliminary_network() { local module + local modulesconf if [ -f /etc/alxconfig-ng/state/configured ] then @@ -682,6 +683,18 @@ module=$(cat ${SETTINGSPATH}/modules) modprobe ${module} fi + + # check modprobe.conf + if [[ $(kernel_major_version) = 2.4 ]] + then + modulesconf="/etc/modules.conf" + else + modulesconf="/etc/modprobe.conf" + fi + if [[ -z $(grep eth0 ${modulesconf}) ]] + then + /sbin/modules-update force + fi else # vars used by hwdetect local NETCARD_FULLNAME NETCARD_DRIVER MOUSE_FULLNAME MOUSE_DEVICE SOUND_FULLNAME