]> git.ipfire.org Git - thirdparty/systemd.git/commit
rules: split out DMI related rules from udev-default.rules
authorLennart Poettering <lennart@poettering.net>
Mon, 19 Jun 2023 16:44:54 +0000 (18:44 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 20 Jun 2023 12:44:36 +0000 (14:44 +0200)
commitdafd65b150d31a0d3027f9d8798cb6b401394829
tree2d7ce0897871e26e0edd08b03dd41786d6d90e33
parent459d84076fb40226df44a7ce54d08101b2384080
rules: split out DMI related rules from udev-default.rules

The DMI rules where so far guarded by an ACTION=="add" rule, but that
doesn't really make sense for setting properties (only for setting
access modes/ownership of nodes).

Hence let's move this into its own file, that guards properly on
ACTION!="remove".

Before this change the hardware vendor/model info would be dropped
whenever the device was retriggered.
rules.d/50-udev-default.rules.in
rules.d/60-dmi-id.rules [new file with mode: 0644]
rules.d/meson.build