summaryrefslogtreecommitdiff
path: root/util/configure_keyboard.sh
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-12-15 11:03:01 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-12-15 11:03:01 +0100
commita9d270eddc062c336c40e1ef8e2c732986222673 (patch)
tree1f68137196293ec69e994872538bb09ab12329aa /util/configure_keyboard.sh
parent9c3854fc72d16c7a819cd74e93dda56e6805cc21 (diff)
downloadarchinstall-a9d270eddc062c336c40e1ef8e2c732986222673.tar
archinstall-a9d270eddc062c336c40e1ef8e2c732986222673.tar.zst
archinstall-a9d270eddc062c336c40e1ef8e2c732986222673.zip
Removed some hard-coding.
Diffstat (limited to 'util/configure_keyboard.sh')
-rw-r--r--util/configure_keyboard.sh5
1 files changed, 4 insertions, 1 deletions
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 <https://www.gnu.org/licenses/>.
+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"