Changeset 1800 in MondoRescue for branches/2.2.5


Ignore:
Timestamp:
Nov 15, 2007, 2:26:22 PM (16 years ago)
Author:
Bruno Cornec
Message:

Also modprobe modules for udev after decompressing the additional ones

File:
1 edited

Legend:

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

    r1798 r1800  
    535535    echo "Installing additional tools ..."
    536536    install-additional-tools
     537    # Keep the kernel silent again
     538    PKLVL=`cut -f1 /proc/sys/kernel/printk`
    537539    if [ ! -e "/tmp/USE-UDEV" ] ; then
    538540        echo "Inserting modules ..."
    539         # Keep the kernel silent again
    540         PKLVL=`cut -f1 /proc/sys/kernel/printk`
    541541        echo 0 > /proc/sys/kernel/printk
    542542        insert-all-my-modules >> $LOGFILE 2>> $LOGFILE
    543         echo $PKLVL > /proc/sys/kernel/printk
    544     fi
     543    else
     544        for m in *.ko; do
     545            j=`echo $m | sed 's/\.ko$//'`
     546            modprobe -q $j
     547        done
     548    fi
     549    echo $PKLVL > /proc/sys/kernel/printk
    545550}
    546551
Note: See TracChangeset for help on using the changeset viewer.