mirror of
https://github.com/krizsipeti/custom_blfs_packages.git
synced 2025-01-23 14:32:21 +08:00
Set keymap automatically based on host system
This commit is contained in:
parent
d48579d874
commit
c01e356b07
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user