summaryrefslogblamecommitdiff
path: root/system/openrc/keymaps.initd
blob: 24d1e877780c8341de66c9ad5eb1ff9e0d476529 (plain) (tree)



















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