Changeset 1465 in MondoRescue


Ignore:
Timestamp:
May 30, 2007, 12:18:53 AM (17 years ago)
Author:
Bruno Cornec
Message:

Adds support for keyboard for Gentoo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.4/mindi/mindi

    r1450 r1465  
    521521        echo -e "$DONE"
    522522        return 0
     523    elif [ -e "/etc/conf.d/keymaps" ] ; then
     524        echo "Gentoo-style config detected." >> $LOGFILE
     525        keyfile=/etc/conf.d/keymaps
    523526    else
    524527        echo -en "Searching for rc.config ..."
     
    538541    locale=`grep -F KEYTABLE "$keyfile" | tr -d '"' |cut -d'=' -f2`
    539542    [ ! "$locale" ] && locale=`grep '.map$' "$keyfile" | sed 's/^.* //'`        # Slackware
     543    [ ! "$locale" ] && locale=`grep -E '^KEYMAP=' "$keyfile" | tr -d '"' |cut -d'=' -f2`        # Gentoo
    540544    echo "locale=$locale" >> $LOGFILE
    541545    mp=`find $KEYDIR/keymaps | grep "i[3-8]86" | grep -F "/${locale}." | grep -vx " *#.*"`
Note: See TracChangeset for help on using the changeset viewer.