Changeset 2828 in MondoRescue
- Timestamp:
- Jun 11, 2011, 7:18:52 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/mindi
r2773 r2828 365 365 echo -e "$DONE" 366 366 return 0 367 elif [ -e "/etc/console-setup/boottime.kmap.gz" ] ; then367 elif [ -e "/etc/console-setup/boottime.kmap.gz" ] || [ -e "/etc/console-setup/cached.kmap.gz" ] ; then 368 368 echo "Ubuntu-style config detected." >> $LOGFILE 369 369 echo -en "Adding the following keyboard mapping tables: " 370 370 mkdir -p $bigdir/tmp 371 echo "/etc/console-setup/boottime.kmap.gz" > $bigdir/tmp/KEYMAP-LIVES-HERE 371 if [ -e "/etc/console-setup/boottime.kmap.gz" ] ; then 372 kbdfile="/etc/console-setup/boottime.kmap.gz" 373 else 374 kbdfile="/etc/console-setup/cached.kmap.gz" 375 fi 376 echo $kbdfile > $bigdir/tmp/KEYMAP-LIVES-HERE 372 377 KBDEPTH=0 373 378 mkdir -p $bigdir/etc/console-setup 374 cp /etc/console-setup/boottime.kmap.gz$bigdir/etc/console-setup 2>> $LOGFILE379 cp $kbdfile $bigdir/etc/console-setup 2>> $LOGFILE 375 380 echo -e "$DONE" 376 381 return 0
Note:
See TracChangeset
for help on using the changeset viewer.