summaryrefslogtreecommitdiff
blob: ea212a4c9f377804530f0808c0792a5e7692494e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/keytouch/files/keytouch-acpid,v 1.1 2007/03/21 00:07:50 nyhm Exp $

depend() {
	need acpid
}

start() {
	ebegin "Running keytouch-init"
	/usr/bin/keytouch-init
	eend $?

	ebegin "Starting keytouch-acpid"
	start-stop-daemon --start --background --exec /usr/bin/keytouch-acpid
	eend $?
}

stop() {
	ebegin "Stopping keytouch-acpid"
	start-stop-daemon --stop --exec /usr/bin/keytouch-acpid
	eend $?
}