- Timestamp:
- Mar 20, 2011, 7:38:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/mindi
r2737 r2744 375 375 echo -e "$DONE" 376 376 return 0 377 elif [ -e "/etc/rc.conf" ] ; then 378 echo "ArchLinux config detected." 379 keyfile=/etc/rc.conf 377 380 elif [ -e "/etc/conf.d/keymaps" ] ; then 378 381 echo "Gentoo-style config detected." >> $LOGFILE … … 395 398 locale=`grep -F KEYTABLE "$keyfile" | tr -d '"' |cut -d'=' -f2` 396 399 [ ! "$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 398 401 echo "locale=$locale" >> $LOGFILE 399 402 #
Note:
See TracChangeset
for help on using the changeset viewer.