View | Details | Raw Unified
Collapse All | Expand All

(-) file_not_specified_in_diff (-1 / +1 lines)
 Lines 131-143    Link Here 
    for MODULE in $DRIVERS
    for MODULE in $DRIVERS
    do
    do
       # maybe driver modules need loading
       # maybe driver modules need loading
       LOADED=false
       if ! lsmod | grep -q "^$MODULE " > /dev/null 2>&1; then
       if ! lsmod | grep -q "^$MODULE " > /dev/null 2>&1; then
           if grep -q "^$MODULE\$" $HOTPLUG_DIR/blacklist \
           if grep -q "^$MODULE\$" $HOTPLUG_DIR/blacklist \
                   >/dev/null 2>&1; then
                   >/dev/null 2>&1; then
               debug_mesg "... blacklisted module:  $MODULE"
               debug_mesg "... blacklisted module:  $MODULE"
               continue
               continue
           fi
           fi
           LOADED=false
           # statically linked modules aren't shown by 'lsmod',
           # statically linked modules aren't shown by 'lsmod',
           # and user mode drivers will ONLY have a setup script;
           # and user mode drivers will ONLY have a setup script;