From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001
From: "Suren A. Chilingaryan" <csa@suren.me>
Date: Sun, 1 Sep 2019 00:00:32 +0200
Subject: Initial import

---
 sys-apps/kbd/files/consolechars | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100755 sys-apps/kbd/files/consolechars

(limited to 'sys-apps/kbd/files/consolechars')

diff --git a/sys-apps/kbd/files/consolechars b/sys-apps/kbd/files/consolechars
new file mode 100755
index 0000000..810829f
--- /dev/null
+++ b/sys-apps/kbd/files/consolechars
@@ -0,0 +1,22 @@
+#! /bin/bash
+
+setfont=0
+setmap=0
+
+for name in $@; do
+    if [ $setfont -eq 1 ]; then
+	setfont $name
+	setfont=0
+    fi
+
+    if [ $setmap -eq 1 ]; then
+	mapscrn $name
+	setmap=0
+    fi
+
+    if [ $name = "-f" ]; then
+	setfont=1
+    elif [ $name = "-m" ]; then
+	setmap=1
+    fi
+done
-- 
cgit v1.2.3