X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=f63815a988b6b4dfea9e5614614719c1a2e17335;hp=3956408a4d5c90e2448d548b10d2e67e5948b8e2;hb=9c5890ba9edbbdd0c6229ab2a2d68e3dbf32bc64;hpb=a9a4ed501dbf07e8e1c0b3cabc2210ddb11a7e4d;ds=sidebyside diff --git a/autoconfig.functions b/autoconfig.functions index 3956408..f63815a 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Klaus Knopper , (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Don Jul 12 15:33:48 CEST 2007 [mika] +# Latest change: Mit Jul 25 18:59:49 CEST 2007 [mika] ################################################################################ # {{{ path, variables, signals, umask, zsh @@ -2177,6 +2177,19 @@ fi } # }}} +# {{{ check for broken ipw3945 driver which causes problems (especially on hd install) +config_ipw3945() { + if grep -q ipw3945 /proc/modules ; then + if ! iwconfig 2>/dev/null| grep -q 'IEEE 802' ; then + ewarn "Broken ipw3945 network interface found, reloading module." + rmmod ipw3945 + modprobe ipw3945 + eend $? + fi + fi +} +# }}} + # {{{ disable console blanking config_blanking(){ if checkbootparam "noblank" ; then