Merge branch 'fix-keymap' into 'master'

Fix and simplify keymap configuration

Closes #74

See merge request fdupoux/sysresccd-src!4
This commit is contained in:
Francois Dupoux 2020-02-29 11:07:31 +00:00
commit 21f20fca19
4 changed files with 12 additions and 74 deletions

View file

@ -10,9 +10,7 @@ do
setkmap\=*)
echo "Found option '${curopt}' on the boot command line"
SETKMAP=$(echo "${curopt}" | cut -f2 -d=)
/sbin/loadkeys ${SETKMAP}
mkdir -p /etc/sysconfig
echo "XKEYBOARD=${SETKMAP}" > /etc/sysconfig/keyboard
localectl set-keymap ${SETKMAP}
;;
# Set the system root password from a clear password
rootpass\=*)