Changeset 1459 for branches/2.2.0


Ignore:
Timestamp:
May 25, 2007, 11:23:05 AM (12 years ago)
Author:
bruno
Message:

OCBU Special: Adds DENY_MODS initialized with all OCMP modules to the 2.2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.0/mindi/mindi

    r885 r1459  
    8080CACHE_LOC=/var/cache/mondo-archive
    8181FORCE_DUAL_FLOPPIES=no
     82DENY_MODS="MPS_Driver_Mapper mps octtldrv tscttl streams"
    8283
    8384BOOT_MEDIA_MESSAGE="\
     
    10491050    oss="/root/oss/modules"
    10501051    module_list="`lsmod | sed -n '2,$s/ .*//p'`"
     1052    # Remove unwanted modules from list
     1053    for i in $DENY_MODS; do
     1054        module_list=`echo ${module_list} | tr ' ' '\n' | grep -Ev "^${i}$" | tr '\n' ' '`
     1055    done
    10511056###
    10521057### Sq-Modification ... Use kernelname for module search path if specified
     
    12481253    echo -en "for outerloop in 1 2 3 4 5 ; do\necho -en \".\"\n" >> $outfile
    12491254    list_to_echo="`lsmod | sed -n '2,$s/ .*//p'`"
     1255    # Remove unwanted modules from list
     1256    for i in $DENY_MODS; do
     1257        list_to_echo=`echo ${list_to_echo} | tr ' ' '\n' | grep -Ev "^${i}$" | tr '\n' ' '`
     1258    done
    12501259#    LTE=`echo "$list_to_echo" | tr ' ' '\n' | grep -n "" | cut -d':' -f2,3,4 | tr '\n' ' '`
    12511260#    lte_old="$LTE"
Note: See TracChangeset for help on using the changeset viewer.