diff --git a/configuration b/configuration index f52aff3..4d5dc40 100644 --- a/configuration +++ b/configuration @@ -113,7 +113,7 @@ DNS2="8.8.8.8" # Console configuration # FONT="lat2-16" -KEYMAP="us" +KEYMAP="xxx" # LOCAL is not set # end of Console configuration # end of System configuration diff --git a/lfsSetup.sh b/lfsSetup.sh index f9edd26..7b50968 100755 --- a/lfsSetup.sh +++ b/lfsSetup.sh @@ -133,6 +133,7 @@ FILE_CFG="$DIR_SETUP/configuration" sed -i -E "\@BUILDDIR=\"xxx\"@s@xxx@$1@g" "$FILE_CFG" sed -i -E "\@FSTAB=\"xxx\"@s@xxx@/home/$U/fstab@g" "$FILE_CFG" sed -i -E "\@CONFIG=\"xxx\"@s@xxx@/home/$U/config-$LATEST_KERNEL_VER@g" "$FILE_CFG" +sed -i -E "\@KEYMAP=\"xxx\"@s@xxx@$(localectl | grep Keymap | awk -F' ' '{printf $NF}')@g" "$FILE_CFG" # Enter to setup folder and start installer cd "$DIR_SETUP"