diff options
author | Tomasz Paweł Gajc <tpgxyz@gmail.com> | 2022-05-28 21:38:33 +0200 |
---|---|---|
committer | Tomasz Paweł Gajc <tpgxyz@gmail.com> | 2022-05-28 21:38:33 +0200 |
commit | 744984aa2dd715b739054bb11f4aba12d188476e (patch) | |
tree | fccd339ff0f03dcaa3d49d4fb6cac92cdbfdd82d /src | |
parent | rpm: use rpm.execute() instead of fork() and execp() for trigger scriplets (diff) | |
download | systemd-744984aa2dd715b739054bb11f4aba12d188476e.tar.xz systemd-744984aa2dd715b739054bb11f4aba12d188476e.zip |
rpm: adjust lua trigger for udevadm
Diffstat (limited to 'src')
-rw-r--r-- | src/rpm/triggers.systemd.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpm/triggers.systemd.in b/src/rpm/triggers.systemd.in index 3d400c22c9..b563c7a739 100644 --- a/src/rpm/triggers.systemd.in +++ b/src/rpm/triggers.systemd.in @@ -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 |