Commit fd00298a authored by Bernhard Landauer's avatar Bernhard Landauer
Browse files

fix set keymap

parent ac4e9d3f
......@@ -69,6 +69,7 @@ prep_menu() {
case $(cat ${ANSWER}) in
"1") select_keymap
set_keymap
;;
"2") show_devices
;;
......
......@@ -229,13 +229,11 @@ set_language() {
check_for_error "set LANG=${CURR_LOCALE}" $?
ini system.lang "$CURR_LOCALE"
loadkeys $KEYMAP 2>$ERR
check_for_error "loadkeys $KEYMAP" "$?"
ini linux.keymap "$KEYMAP"
setfont $FONT 2>$ERR
check_for_error "set font $FONT" $?
ini linux.font "$FONT"
set_keymap
}
# set locale, keymap and font and source translation file for installer
......@@ -336,6 +334,12 @@ select_keymap() {
KEYMAP=$(cat ${ANSWER})
}
set_keymap() {
loadkeys $KEYMAP 2>$ERR
check_for_error "loadkeys $KEYMAP" "$?"
ini linux.keymap "$KEYMAP"
}
mk_connection() {
if [[ ! $(ping -c 2 google.com) ]]; then
DIALOG " $_NoCon " --yesno "\n$_EstCon\n " 0 0 && $NW_CMD && return 0 || clear && exit 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment