|
|
Thread Tools | Search this Thread | Display Modes |
|
12-27-2017, 05:32 PM | #1 |
Junior Member
Join Date: Dec 2017
Posts: 6
|
[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 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 } Presume main() section of udev.sh need addition: Code:
if [ "$action" = "START" ]; then start_displaylink fi |
|
|