Ryan Fox
46def8d054
This makes /dev/displaylink work correctly. I also moved the driver back to /opt/displaylink since it seems to be a standard location. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Ryan Fox <flewkey@2a03.party>
19 lines
474 B
D
19 lines
474 B
D
#!/sbin/openrc-run
|
|
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
name="DisplayLink Manager"
|
|
description="Driver for modern DisplayLink devices"
|
|
dir="/opt/@P@"
|
|
|
|
start() {
|
|
modprobe -q evdi
|
|
start-stop-daemon --start --background --chdir /opt/displaylink --make-pidfile --pidfile /run/dlm.pid --exec /opt/displaylink/DisplayLinkManager
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
start-stop-daemon --stop --pidfile /run/dlm.pid
|
|
eend $?
|
|
}
|