Changeset 2583


Ignore:
Timestamp:
Feb 15, 2010, 8:05:45 PM (9 years ago)
Author:
bruno
Message:
  • Fix reporting when a module is not found (pollutes logs)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/mindi

    r2579 r2583  
    773773
    774774ListKernelModulePaths() {
    775     local module_list module fname oss r kern
    776     oss="/root/oss/modules"
     775    local module_list module fname r kern
    777776    module_list="$MODULES"
    778777    # Remove unwanted modules from list
     
    804803                r="[extra module file not found]"
    805804            fi
     805        else
     806            [ -f "$r" ] && echo "$r"
    806807        fi
    807808        echo "module $module --> $r" >> $LOGFILE
    808         [ -f "$r" ] && echo "$r"
    809         [ -f "$oss" ] && find $oss | grep -F $module
    810809    done
    811810    find /lib/modules/$kern/modules.* -type f 2> /dev/null
    812     [ -f "$oss" ] && find $oss.* 2> /dev/null
    813811}
    814812
Note: See TracChangeset for help on using the changeset viewer.