Changeset 2744


Ignore:
Timestamp:
Mar 20, 2005, 7:38:14 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Adds Arch Linux Keyboard support (mc_at_carreira.com.pt)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/mindi

    r2737 r2744  
    375375        echo -e "$DONE"
    376376        return 0
     377    elif [ -e "/etc/rc.conf" ] ; then
     378        echo "ArchLinux config detected."
     379        keyfile=/etc/rc.conf
    377380    elif [ -e "/etc/conf.d/keymaps" ] ; then
    378381        echo "Gentoo-style config detected." >> $LOGFILE
     
    395398    locale=`grep -F KEYTABLE "$keyfile" | tr -d '"' |cut -d'=' -f2`
    396399    [ ! "$locale" ] && locale=`grep '.map$' "$keyfile" | sed 's/^.* //'`        # Slackware
    397     [ ! "$locale" ] && locale=`grep -E '^KEYMAP=' "$keyfile" | tr -d '"' |cut -d'=' -f2`        # Gentoo
     400    [ ! "$locale" ] && locale=`grep -E '^KEYMAP=' "$keyfile" | tr -d '"' |cut -d'=' -f2`        # Gentoo & ArchLinux
    398401    echo "locale=$locale" >> $LOGFILE
    399402    #
Note: See TracChangeset for help on using the changeset viewer.