Changeset 1399 in MondoRescue for branches/2.2.4/mindi/rootfs/sbin/init


Ignore:
Timestamp:
May 7, 2007, 10:21:32 AM (17 years ago)
Author:
Bruno Cornec
Message:
  • Fix a bug on lsmod | sed. (Andree Leidenfrost). As a consequence, lsmod is not used anymore in mindi (except for log). Replaced by /proc/modules. And the MODULES variable is now used to avoid code duplication.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.4/mindi/rootfs/sbin/init

    r1315 r1399  
    527527#-------------------------------
    528528
    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
     529echo "Result of lsmod" >> $LOGFILE
     530echo "---------------" >> $LOGFILE
     531lsmod >> $LOGFILE
    533532
    534533#ctrlaltdel soft
Note: See TracChangeset for help on using the changeset viewer.