diff options
Diffstat (limited to 'main/openrc/keymaps.initd')
-rw-r--r-- | main/openrc/keymaps.initd | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/openrc/keymaps.initd b/main/openrc/keymaps.initd new file mode 100644 index 000000000..8ee019c69 --- /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 +} |