summaryrefslogtreecommitdiff
path: root/x11-drivers/displaylink-driver/files/rc-displaylink
blob: ee541d489c1d7748f2752a287e3f5515f27b54e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/sbin/runscript
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
 
depend() {
after xdm
}
 
start() {
start-stop-daemon --start --background --chdir /usr/lib/displaylink --make-pidfile --pidfile /run/displaylink.pid --exec /usr/lib/displaylink/DisplayLinkManager
eend $?
}
 
stop() {
start-stop-daemon --stop --pidfile /run/displaylink.pid
eend $?
}