Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Linux and Open Source
Register FAQ Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 05-18-2016, 06:24 AM   #6
Knowbody
Junior Member
 
Join Date: May 2016
Posts: 2
Default

Quote:
Originally Posted by fooctrl View Post
With latest version of script, Ubuntu is also supported (>=15.04 to <=16.04).

However, there's no support for Mint right now. Due to the reason that Mint still uses Upstart, while this script support anything that's running on Systemd.
It's possible to have systemd installed on mint though, so you could just run a check to see if it's running systemd.

*edit*
Just looking through the official install script, it looks like it does detect and support both upstart and systemd (this is from version 1.1.62):
Code:
detect_init_daemon()
{
    INIT=$(readlink /proc/1/exe)
    if [ "$INIT" == "/sbin/init" ]; then
        INIT=$(/sbin/init --version)
    fi

    [ -z "${INIT##*upstart*}" ] && SYSTEMINITDAEMON="upstart"
    [ -z "${INIT##*systemd*}" ] && SYSTEMINITDAEMON="systemd"

    if [ -z "$SYSTEMINITDAEMON" ]; then
        echo "ERROR: the installer script is unable to find out how to start DisplayLinkManager service automatically on your system." >&2
        echo "Please set an environment variable SYSTEMINITDAEMON to 'upstart' or 'systemd' before running the installation script to force one of the options." >&2
        echo "Installation terminated." >&2
        exit 1
    fi
}
And the install function calls a couple of different functions depending on whether systemd or upstart is used:
Code:
  if [ "upstart" == "$SYSTEMINITDAEMON" ]; then
    echo "Starting DLM upstart job"
    add_upstart_script
    add_pm_script "upstart"
    start displaylink
  elif [ "systemd" == "$SYSTEMINITDAEMON" ]; then
    echo "Starting DLM systemd service"
    add_systemd_service
    add_pm_script "systemd"
    systemctl start displaylink.service
  fi
It just doesn't support sysvinit

Last edited by Knowbody; 05-18-2016 at 06:42 AM.
Knowbody is offline   Reply With Quote
 

Tags
debian, displaylink, jessie, sid, stretch


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 06:05 AM.


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