Changeset 1399 in MondoRescue
- Timestamp:
- May 7, 2007, 10:21:32 AM (18 years ago)
- Location:
- branches/2.2.4/mindi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.4/mindi/mindi
r1354 r1399 72 72 #DENY_MODS="MPS_Driver_Mapper mps octtldrv tscttl streams" 73 73 DENY_MODS="" 74 # Force som amodules to be included74 # Force some modules to be included 75 75 FORCE_MODS="" 76 76 … … 939 939 local module_list module fname oss r kern 940 940 oss="/root/oss/modules" 941 module_list=" `lsmod | sed -n '2,$s/ .*//'`"941 module_list="$MODULES" 942 942 # Remove unwanted modules from list 943 943 for i in $DENY_MODS; do … … 976 976 if echo $fname | grep lvm &> /dev/null ; then 977 977 echo "This warning only affects you if you are using LVM." >> $LOGFILE 978 if lsmod| grep lvm &> /dev/null ; then978 if echo "$MODULES" | grep lvm &> /dev/null ; then 979 979 echo "I think you are, so please take heed!" >> $LOGFILE 980 980 # LogIt "Where is liblvm? You need it." … … 1128 1128 echo -en "for outerloop in 1 2 3 4 5 ; do\necho -en \".\"\n" >> $outfile 1129 1129 # BERLIOS: That code is duplicated - Should be done once only 1130 list_to_echo=" `lsmod | sed -n '2,$s/ .*//'`"1130 list_to_echo="$MODULES" 1131 1131 # Remove unwanted modules from list 1132 1132 for i in $DENY_MODS; do … … 2601 2601 fi 2602 2602 2603 lsmod > tmp/original-lsmod.txt2604 2605 2603 cp --parents -Rdf /dev/fd0*[1,2][4,7,8]* . 2> /dev/null 2606 2604 cd $old_pwd … … 2722 2720 WhichOfTheseModulesAreLoaded() { 2723 2721 local modname loaded_modules 2724 loaded_modules=" `lsmod | tr -s ' ' '\t' | cut -f1 | grep -Fvx "Modules" | tr '\n' ' '`"2722 loaded_modules="$MODULES" 2725 2723 for modname in $1 ; do 2726 2724 [ "`echo "$loaded_modules" | grep -F " $modname "`" ] && echo "$modname" … … 2894 2892 echo "-------------" >> $LOGFILE 2895 2893 lsmod >> $LOGFILE 2894 MODULES="`cat /proc/modules | awk '{print $1}'`" 2896 2895 echo "-------------" >> $LOGFILE 2897 2896 echo "Liste of extra modules is:" >> $LOGFILE -
branches/2.2.4/mindi/rootfs/sbin/init
r1315 r1399 527 527 #------------------------------- 528 528 529 lsmod > /tmp/ramdisk-lsmod.txt 2> /dev/null 530 cut -d' ' -f1 /tmp/original-lsmod.txt /tmp/original-lsmod.txt /tmp/ramdisk-lsmod.txt | sort | uniq -d > /tmp/missing-modules.txt 531 echo "Warning - these modules did not make it onto the ramdisk" >> $LOGFILE 532 cat /tmp/missing-modules.txt >> $LOGFILE 529 echo "Result of lsmod" >> $LOGFILE 530 echo "---------------" >> $LOGFILE 531 lsmod >> $LOGFILE 533 532 534 533 #ctrlaltdel soft
Note:
See TracChangeset
for help on using the changeset viewer.