diff options
author | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-06-23 20:05:09 +0200 |
---|---|---|
committer | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-06-24 13:52:58 +0200 |
commit | fa8d09e1fb7057332eac795aa346763c11476b4b (patch) | |
tree | 361e1441566acd6e51a38181e81761e0563f870b | |
parent | d19b31f04339ed50061e4c7d21288491f2f9ebd6 (diff) |
Simplify keyboard map loading by using loadkeys autodetection
-rwxr-xr-x | rc.sysinit | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -286,7 +286,6 @@ if [[ ${LOCALE,,} =~ utf ]]; then done echo 1 > /sys/module/vt/parameters/default_utf8 stat_done - [[ $KEYMAP ]] && status "Loading Keyboard Map: $KEYMAP" loadkeys -q -u $KEYMAP else stat_busy "Setting Consoles to legacy mode" # make non-UTF-8 consoles work on 2.6.24 and newer kernels @@ -296,8 +295,9 @@ else done echo 0 > /sys/module/vt/parameters/default_utf8 stat_done - [[ $KEYMAP ]] && status "Loading Keyboard Map: $KEYMAP" loadkeys -q $KEYMAP fi +[[ $KEYMAP ]] && \ + status "Loading Keyboard Map: $KEYMAP" loadkeys -q $KEYMAP # Set console font if required set_consolefont |