Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Linux and Open Source

Reply
 
Thread Tools Search this Thread Display Modes
Old 08-13-2015, 02:02 PM   #1
mickaelperrin
Junior Member
 
Join Date: Aug 2015
Posts: 1
Arrow [PATCH] [BUGFIX] Install fails on 15.04 with upstart-sysv

Hi,

Here is a simple patch to correctly install the drivers on Ubuntu 15.04 if user continue to use upstart instead of systemd by installing the upstart-sysv package.

Except this, the driver works well. Even if I would like the ability to choose which side to display the monitor and to rotate it.

Direct download patch

Code:
---
 displaylink-installer.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/displaylink-installer.sh b/displaylink-installer.sh
index 8d2bb57..599a576 100755
--- a/displaylink-installer.sh
+++ b/displaylink-installer.sh
@@ -260,7 +260,7 @@ detect_distro()
     if which lsb_release >/dev/null; then
         local R=$(lsb_release -d -s)
         echo "Distribution discovered: $R"
-        if [ -z "${R##Ubuntu 14.*}" ]; then
+        if [ -z "${R##Ubuntu 14.*}" ] || dpkg-query -l upstart-sysv 2>/dev/null >/dev/null; then
             SYSTEMINITDAEMON=upstart
         elif [ -z "${R##Ubuntu 15.04*}" ]; then
             SYSTEMINITDAEMON=systemd
-- 
2.1.4
Hope it helps,

Regards,
mickaelperrin is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:12 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.