diff options
| author | Yurii Kolesnykov <root@yurikoles.com> | 2023-03-26 22:46:48 +0300 |
|---|---|---|
| committer | Yurii Kolesnykov <root@yurikoles.com> | 2023-03-26 22:46:48 +0300 |
| commit | 6e681d813f11f51c4a0c2ceb7ef577d1b7f524c5 (patch) | |
| tree | 2988b25bbd852c5986a7e1b515bdd4f43a52c4f9 /initcpio-hook-udev | |
| parent | c6aabd15710006c84bf31c9a91b13f388ca61558 (diff) | |
| download | systemd-git-6e681d813f11f51c4a0c2ceb7ef577d1b7f524c5.tar.gz systemd-git-6e681d813f11f51c4a0c2ceb7ef577d1b7f524c5.tar.bz2 | |
sync with testing/systemd
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
Diffstat (limited to 'initcpio-hook-udev')
| -rw-r--r-- | initcpio-hook-udev | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/initcpio-hook-udev b/initcpio-hook-udev index ea9a11f..dfa8750 100644 --- a/initcpio-hook-udev +++ b/initcpio-hook-udev @@ -3,7 +3,11 @@ run_earlyhook() { kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf systemd-tmpfiles --prefix=/dev --create --boot - /usr/lib/systemd/systemd-udevd --daemon --resolve-names=never + if [ "${quiet}" = "y" ]; then + /usr/lib/systemd/systemd-udevd --daemon --resolve-names=never >/dev/null 2>&1 + else + /usr/lib/systemd/systemd-udevd --daemon --resolve-names=never + fi udevd_running=1 } |
