aboutsummaryrefslogtreecommitdiffstats
path: root/main/openrc/keymaps.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/openrc/keymaps.initd')
-rw-r--r--main/openrc/keymaps.initd20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/openrc/keymaps.initd b/main/openrc/keymaps.initd
new file mode 100644
index 0000000000..8ee019c69d
--- /dev/null
+++ b/main/openrc/keymaps.initd
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+
+description="Applies a keymap for the consoles."
+
+depend()
+{
+ need localmount
+ keyword noopenvz noprefix nouml novserver noxenu
+}
+
+start() {
+ [ -z "$KEYMAP" ] && return
+ ebegin "Setting keymap"
+ zcat "$KEYMAP" | loadkmap
+ eend $?
+}
+
+stop() {
+ return
+}