aports/main/openrc/keymaps.initd
Natanael Copa 8319a3ab9c main/openrc: init.d script cleanups and fixes for lxc
ref #3699

The following services should not be started on LXC:
- hwdrivers
- keymaps
- modloop
- modules
2015-05-06 08:08:32 +00:00

21 lines
272 B
Plaintext

#!/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
}