summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/ati-drivers/files/atieventsd.rc6')
-rw-r--r--x11-drivers/ati-drivers/files/atieventsd.rc622
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-drivers/ati-drivers/files/atieventsd.rc6 b/x11-drivers/ati-drivers/files/atieventsd.rc6
new file mode 100644
index 0000000..2180e0e
--- /dev/null
+++ b/x11-drivers/ati-drivers/files/atieventsd.rc6
@@ -0,0 +1,22 @@
+#!/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.rc6,v 1.2 2006/08/04 12:20:19 chrb Exp $
+
+depend() {
+ need acpid
+}
+
+start() {
+ start-stop-daemon --start --pidfile /var/run/atieventsd.pid \
+ --exec /opt/ati/sbin/atieventsd -- ${ATIEVENTSDOPTS}
+ local pid=`pidof atieventsd`
+ echo $pid > /var/run/atieventsd.pid
+ eend $?
+}
+
+stop() {
+ start-stop-daemon --stop --quiet --pidfile /var/run/atieventsd.pid
+ eend $?
+}
+