]] Russell Stuart > As for *.link files, syntactically they like all systemd stuff are a > huge improvement on what came before them. But the old ugly udev rules > have one thing over them - they provide hooks for scripts to cover > cases they haven't thought of. Scripts seem to be an anathema to the > author's of systemd. While that remains true they will never be able > to replace udev rules in all cases.
Doesn't something like: [Unit] Description=My hook for foo.link After=foo.link BindsTo=foo.link [Service] Type=oneshot ExecStart=/usr/local/sbin/whatever RemainAfterExit=yes [Install] WantedBy=multi-user.target work to hook into when a link unit is activated? (Or just a Wants and Before in the foo.link unit) -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are