summaryrefslogtreecommitdiff
path: root/system/openrc/keymaps.initd
diff options
context:
space:
mode:
Diffstat (limited to 'system/openrc/keymaps.initd')
-rw-r--r--system/openrc/keymaps.initd20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/openrc/keymaps.initd b/system/openrc/keymaps.initd
new file mode 100644
index 000000000..24d1e8777
--- /dev/null
+++ b/system/openrc/keymaps.initd
@@ -0,0 +1,20 @@
+#!/sbin/openrc-run
+
+description="Applies a keymap for the consoles."
+
+depend()
+{
+ need localmount
+ keyword -openvz -prefix -uml -vserver -xenu -lxc
+}
+
+start() {
+ [ -z "$KEYMAP" ] && return
+ ebegin "Setting keymap"
+ zcat "$KEYMAP" | loadkmap
+ eend $?
+}
+
+stop() {
+ return
+}