summaryrefslogtreecommitdiff
path: root/x11-drivers/ati-drivers/files/atieventsd.init
blob: 73139ce395cc9c17344d27db3e6ba4c460d15ebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/files/atieventsd.init,v 1.3 2007/05/18 23:58:01 marienz Exp $

depend() {
    need acpid
}

start() {
    ebegin "Starting ${SVCNAME}"
    start-stop-daemon --start --exec /opt/sbin/atieventsd -- ${ATIEVENTSDOPTS}
    eend $?
}

stop() {
    ebegin "Stopping ${SVCNAME}"
    start-stop-daemon --stop --quiet --exec /opt/sbin/atieventsd
    eend $?
}