summaryrefslogtreecommitdiff
path: root/x11-drivers/displaylink-driver/files/rc-displaylink-1.2
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2019-07-05 12:17:54 +0100
committerdakkar <dakkar@thenautilus.net>2019-07-05 12:17:54 +0100
commitab53910278f76fd9e3e3127708360a42c59fc512 (patch)
tree32c92d4cf9e5a9a87c02b33804ee6c7a7fafd203 /x11-drivers/displaylink-driver/files/rc-displaylink-1.2
parentlitehtml is not ready in released versions (diff)
downloadgentoo-overlay-ab53910278f76fd9e3e3127708360a42c59fc512.tar.gz
gentoo-overlay-ab53910278f76fd9e3e3127708360a42c59fc512.tar.bz2
gentoo-overlay-ab53910278f76fd9e3e3127708360a42c59fc512.zip
probably-working displaylink driver
upgraded from https://git.hossie.de/projects/GEN/repos/gentoo-overlay/browse/x11-drivers/ which was inspired by https://aur.archlinux.org/cgit/aur.git/tree/?h=displaylink
Diffstat (limited to 'x11-drivers/displaylink-driver/files/rc-displaylink-1.2')
-rw-r--r--x11-drivers/displaylink-driver/files/rc-displaylink-1.219
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-drivers/displaylink-driver/files/rc-displaylink-1.2 b/x11-drivers/displaylink-driver/files/rc-displaylink-1.2
new file mode 100644
index 0000000..fd5c0b6
--- /dev/null
+++ b/x11-drivers/displaylink-driver/files/rc-displaylink-1.2
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2015 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 $?
+}