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.rc619
1 files changed, 19 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 000000000000..93ac053049fd
--- /dev/null
+++ b/x11-drivers/ati-drivers/files/atieventsd.rc6
@@ -0,0 +1,19 @@
+#!/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.1 2006/07/06 13:04:06 lu_zero Exp $
+
+depend() {
+ need acpid
+}
+
+start() {
+ start-stop-daemon --start pidfile /var/run/atieventsd.pid \
+ --exec /opt/ati/sbin/atieventsd -- ${ATIEVENTSDOPTS}
+ eend $?
+}
+
+stop() {
+ start-stop-daemon --stop --quiet --pidfile /var/run/atieventsd.pid
+ eend $?
+}