Changeset 1177 in MondoRescue for branches/stable/mindi/mindi
- Timestamp:
- Feb 16, 2007, 7:20:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/mindi
r1167 r1177 109 109 NET_MODS="$mindi_net_mods" 110 110 EXTRA_MODS="$CDROM_MODS $mindi_extra_mods $mindi_additional_mods" 111 DENY_MODS="mindi_deny_mods" 111 112 112 113 BOOT_MEDIA_MESSAGE="$mindi_boot_msg" … … 939 940 local module_list module fname oss r kern 940 941 oss="/root/oss/modules" 941 module_list="`lsmod | sed -n '2,$s/ .*//p'`" 942 module_list="`lsmod | sed -n '2,$s/ .*//'`" 943 # Remove unwanted modules from list 944 for i in $DENY_MODS; do 945 module_list=`echo ${module_list} | tr ' ' '\n' | grep -Ev "^${i}$" | tr '\n' ' '` 946 done 942 947 ### 943 948 ### Sq-Modification ... Use kernelname for module search path if specified … … 1078 1083 1079 1084 echo -en "for outerloop in 1 2 3 4 5 ; do\necho -en \".\"\n" >> $outfile 1080 list_to_echo="`lsmod | sed -n '2,$s/ .*//p'`" 1085 # BERLIOS: That code is duplicated - Should be done once only 1086 list_to_echo="`lsmod | sed -n '2,$s/ .*//'`" 1087 # Remove unwanted modules from list 1088 for i in $DENY_MODS; do 1089 list_to_echo=`echo ${list_to_echo} | tr ' ' '\n' | grep -Ev "^${i}$" | tr '\n' ' '` 1090 done 1081 1091 1082 1092 # Make temporary modprobe.conf file if we are told so
Note:
See TracChangeset
for help on using the changeset viewer.