nixpkgs/pkgs/os-specific
Florian Klink 43f74794de displaylink: manually activate dlm.service
The shell script coming with the vendor-provided udev rule simply
starts dlm.service (and sets up some symlinks), and stops dlm.service if
that was the last card plugged in.

On NixOS, some of the cat/grep/sed commands are not available, causing
the script to fail.

Turns out, the symlinks aren't needed at all. Archlinux ships their own
script
(https://aur.archlinux.org/cgit/aur.git/plain/udev.sh?h=displaylink),
which only starts and stops dlm.service, depending on whether there's
cards left or not.

We can further optimize this by simply starting dlm.service on the first
card, and not stopping it at all. Considering dlm won't get stopped if
one of multiple cards is unplugged, it seems to handle disconnects.
2020-12-21 00:34:31 +01:00
..
bsd *-wrapper; Switch from infixSalt to suffixSalt 2020-05-12 00:44:44 -04:00
darwin Merge pull request #105938 from virusdave/dnicponski/scratch/add_osx-cpu-temp 2020-12-11 06:56:57 +01:00
linux displaylink: manually activate dlm.service 2020-12-21 00:34:31 +01:00
solo5 treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
windows mingw-w64: 5.0.4 -> 6.0.0 2020-08-16 10:16:51 +00:00