mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
rpm: adjust lua trigger for udevadm
This commit is contained in:
parent
7bde8293a4
commit
744984aa2d
@ -105,7 +105,7 @@ assert(rpm.execute("systemd-tmpfiles", "--create"))
|
||||
%transfiletriggerin -P 1000600 udev -p <lua> -- {{UDEV_RULES_DIR}}
|
||||
-- This script will automatically update udev with new rules if files
|
||||
-- have been installed or updated in {{UDEV_RULES_DIR}}.
|
||||
if posix.access("/run/systemd/system") then
|
||||
if posix.access("/run/udev/control") then
|
||||
assert(rpm.execute("udevadm", "control", "--reload"))
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user