Greetings,
given a rule file which has a add and remove handlers, is there a way to
manually trigger the remove handler of that file?
Thanks,
Dagg
Greetings,
> Sent: Friday, May 26, 2023 at 12:02 PM
> From: "daggs"
> To: "Lennart Poettering"
> Cc: systemd-devel@lists.freedesktop.org
> Subject: Re: [systemd-devel] udev rule, continue to next rule only if preb
> failed
>
> Greetings Lennart,
Greetings Lennart,
> Sent: Friday, May 26, 2023 at 11:23 AM
> From: "Lennart Poettering"
> To: "daggs"
> Cc: systemd-devel@lists.freedesktop.org
> Subject: Re: [systemd-devel] udev rule, continue to next rule only if preb
> failed
>
> On Do,
Greetings,
I'm trying to implement the following behavior:
if a usb is added ot removed, run a script before all other existing rules but
continue to existing iff the script failed
I've added the following rule to /etc/udev/rules.d/5-usb_vm.rules:
ACTION=="add", SUBSYSTEM=="usb",