1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 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 }