summaryrefslogtreecommitdiffstats
path: root/sys-apps/kbd/files/dynamicvc
blob: e50792f7a1346138ebbbd3bbe4dea542d3e2378c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:

depend() {
	need consolefont
}

start() {
	ebegin "Starting dynamic-vc"
	loadkeys < /etc/conf.d/controlkeys
	start-stop-daemon --start --quiet --background --exec /usr/bin/spawn_login
	eend $?
}

stop() {
	ebegin "Stopping dynamic-vc"
	start-stop-daemon --stop --quiet --exec /usr/bin/spawn_login
	eend $?
}