Changeset 1468 in MondoRescue


Ignore:
Timestamp:
May 30, 2007, 2:37:34 AM (17 years ago)
Author:
Bruno Cornec
Message:
  • Try to improve kernel support and detection for gentoo. (kernel named genkernel-* and not *lin*)
  • Adds support for keyboard for Gentoo

merge -r 1463:1465 $SVN_M/branches/2.2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/mindi

    r1420 r1468  
    524524        echo -e "$DONE"
    525525        return 0
     526    elif [ -e "/etc/conf.d/keymaps" ] ; then
     527        echo "Gentoo-style config detected." >> $LOGFILE
     528        keyfile=/etc/conf.d/keymaps
    526529    else
    527530        echo -en "Searching for rc.config ..."
     
    541544    locale=`grep -F KEYTABLE "$keyfile" | tr -d '"' |cut -d'=' -f2`
    542545    [ ! "$locale" ] && locale=`grep '.map$' "$keyfile" | sed 's/^.* //'`        # Slackware
     546    [ ! "$locale" ] && locale=`grep -E '^KEYMAP=' "$keyfile" | tr -d '"' |cut -d'=' -f2`        # Gentoo
    543547    echo "locale=$locale" >> $LOGFILE
    544548    #
Note: See TracChangeset for help on using the changeset viewer.