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

Reply
 
Thread Tools Search this Thread Display Modes
Old 12-27-2017, 06:32 PM   #1
Artem
Junior Member
 
Join Date: Dec 2017
Posts: 6
Default [bug] udev.sh - missing section for START action in main()

At install() section of displaylink-installer.sh contains:
Code:
  source udev-installer.sh
  displaylink_bootstrap_script=$COREDIR/udev.sh
  create_bootstrap_file $SYSTEMINITDAEMON $displaylink_bootstrap_script
  add_udev_rule
....
  print_help_message

  $displaylink_bootstrap_script START
main() section of udev.sh contains only:
Code:
main()
{
  action=$1
  root=$2
  device_id=$3
  devnode=$4

  if [ "$action" = "add" ]; then
    create_displaylink_symlink $root $device_id $devnode
    start_displaylink
  elif [ "$action" = "remove" ]; then
    unlink_displaylink_symlink "$root" "$device_id"
    stop_displaylink "$root"
  fi
}
Hence service is not started after installation, need manual start.
Presume main() section of udev.sh need addition:
Code:
  if [ "$action" = "START" ]; then
    start_displaylink
  fi
Artem 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 08:53 AM.


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