aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/loadkmap.initd
blob: 7149dd729e05b9dee91bc2809b8f496e73914104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/sbin/openrc-run

description="Applies a keymap for the consoles."

depend()
{
	provide keymaps
	need localmount
	keyword -openvz -prefix -uml -vserver -xenu -lxc
}

start() {
	[ -z "$KEYMAP" ] && return
	ebegin "Setting keymap"
	zcat "$KEYMAP" | loadkmap
	eend $?
}

stop() {
	return
}