summaryrefslogtreecommitdiff
path: root/x11-drivers/displaylink-driver/files/rc-displaylink-1.3
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/displaylink-driver/files/rc-displaylink-1.3')
-rw-r--r--x11-drivers/displaylink-driver/files/rc-displaylink-1.319
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-drivers/displaylink-driver/files/rc-displaylink-1.3 b/x11-drivers/displaylink-driver/files/rc-displaylink-1.3
new file mode 100644
index 0000000..1db2def
--- /dev/null
+++ b/x11-drivers/displaylink-driver/files/rc-displaylink-1.3
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ after xdm
+}
+
+start() {
+ modprobe -q evdi
+ start-stop-daemon --start --background --chdir /opt/displaylink --make-pidfile --pidfile /run/displaylink.pid --exec /opt/displaylink/DisplayLinkManager
+ eend $?
+}
+
+stop() {
+ start-stop-daemon --stop --pidfile /run/displaylink.pid
+ eend $?
+}