Changeset 3247 in MondoRescue for branches/3.2/mindi/rootfs


Ignore:
Timestamp:
Jan 30, 2014, 11:37:44 PM (10 years ago)
Author:
Bruno Cornec
Message:
  • ohci-hcd and ohci_hcd are now correctly included
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/rootfs/etc/init.d/rcS

    r3210 r3247  
    5353    mount / -o rw,remount > /dev/null 2> /dev/null
    5454    for i in `cat /proc/cmdline`; do
    55         echo $i | grep -qi console= && console=`echo $i | cut -d= -f2`
    56         echo $i | grep -qi serial= && serial=`echo $i | cut -d= -f2`
    57     done
    58     LogIt "Launching Shell"
    59     if [[ $serial != "" && -e $serial ]]; then
    60         setsid sh -c "exec sh <$serial >$serial 2>&1"
    61     elif [[ $console != "" && -e /dev/$console ]]; then
    62         setsid sh -c "exec sh </dev/$console >/dev/$console 2>&1"
    63     else
    64         setsid sh -c "exec sh </dev/tty1 >/dev/tty1 2>&1"
    65     fi
     55        echo $i | grep -qi console= && console=`echo $i | cut -d= -f2`
     56        echo $i | grep -qi serial= && serial=`echo $i | cut -d= -f2`
     57    done
     58    LogIt "Launching Shell"
     59    if [[ $serial != "" && -e $serial ]]; then
     60        setsid sh -c "exec sh <$serial >$serial 2>&1"
     61    elif [[ $console != "" && -e /dev/$console ]]; then
     62        setsid sh -c "exec sh </dev/$console >/dev/$console 2>&1"
     63    else
     64        setsid sh -c "exec sh </dev/tty1 >/dev/tty1 2>&1"
     65    fi
    6666}
    6767
Note: See TracChangeset for help on using the changeset viewer.