Changeset 1713 in MondoRescue for branches/2.2.5/mindi


Ignore:
Timestamp:
Oct 27, 2007, 8:31:17 PM (16 years ago)
Author:
Bruno Cornec
Message:
  • Improve Ubuntu/Debian keyboard detection and support
  • pbinit adapted to new pb (0.8.10). Filtering of docs done in it
  • Suppress some mondo warnings and errors on USB again
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/mindi

    r1698 r1713  
    516516    [ ! -e "$KEYDIR" ] && KEYDIR=/usr/lib/kbd
    517517    [ ! -e "$KEYDIR" ] && KEYDIR=/usr/share
     518    [ ! -e "$KEYDIR" ] && KEYDIR=/etc/condole
     519    [ ! -e "$KEYDIR" ] && KEYDIR=/etc/condole-setup
    518520    if [ ! -e "$KEYDIR" ] ; then
    519521        LogIt "Keyboard mapping directory not found. I shall use default map at boot-time."
     
    537539        mkdir -p $bigdir/etc/console
    538540        cp /etc/console/boottime.kmap.gz $bigdir/etc/console 2>> $LOGFILE
     541        echo -e "$DONE"
     542        return 0
     543    elif [ -e "/etc/console-setup/boottime.kmap.gz" ] ; then
     544        echo "Ubuntu-style config detected." >> $LOGFILE
     545        echo -en "Adding the following keyboard mapping tables: "
     546        mkdir -p $bigdir/tmp
     547        echo "/etc/console-setup/boottime.kmap.gz" > $bigdir/tmp/KEYMAP-LIVES-HERE
     548        KBDEPTH=0
     549        mkdir -p $bigdir/etc/console-setup
     550        cp /etc/console-setup/boottime.kmap.gz $bigdir/etc/console-setup 2>> $LOGFILE
    539551        echo -e "$DONE"
    540552        return 0
Note: See TracChangeset for help on using the changeset viewer.