From a9d270eddc062c336c40e1ef8e2c732986222673 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 15 Dec 2019 11:03:01 +0100 Subject: Removed some hard-coding. --- util/configure_keyboard.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'util/configure_keyboard.sh') diff --git a/util/configure_keyboard.sh b/util/configure_keyboard.sh index f492e43..9a1a1a3 100644 --- a/util/configure_keyboard.sh +++ b/util/configure_keyboard.sh @@ -18,7 +18,10 @@ # along with this program. If not, see . +keymap=$1 # e.g. "de-latin1" + + touch /etc/vconsole.conf -echo "KEYMAP=de-latin1" > /etc/vconsole.conf +echo "KEYMAP=$keymap" > /etc/vconsole.conf echo "Keyboard configuration done - OK" -- cgit v1.2.3-70-g09d2