diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-10-26 14:00:47 +0900 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-10-26 10:49:09 +0200 |
commit | 403ca5b8b4e5092639d350f84994b4cfb357e1aa (patch) | |
tree | e0089e26d06dcd4f0719daa787ef057510749c23 /units | |
parent | bdc84a6fc9a166ac74cda8ebdb158a4ba51f3715 (diff) | |
download | systemd-403ca5b8b4e5092639d350f84994b4cfb357e1aa.tar.gz |
unit: also prioritize input devices when triggering devices
As in most cases, tty device without input devices is meaningless.
This also swaps the priority of tty and net:
- input devices are often connected under USB bus, hence may take
slightly much time to be initialized. As, described in the above,
in most cases it is allowed that tty devices are initialized just
before input devices,
- network configuration usually requires much time, e.g. DHCP or RA,
hence it is better that network interfaces initialized. Then,
network services can start DHCP client or friends earlier.
Fixes #24026.
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-udev-trigger.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-udev-trigger.service b/units/systemd-udev-trigger.service index 0175a14858..cb1e4f9fea 100644 --- a/units/systemd-udev-trigger.service +++ b/units/systemd-udev-trigger.service @@ -19,4 +19,4 @@ ConditionPathIsReadWrite=/sys [Service] Type=oneshot RemainAfterExit=yes -ExecStart=-udevadm trigger --type=all --action=add --prioritized-subsystem=module,block,tpmrm,tty,net +ExecStart=-udevadm trigger --type=all --action=add --prioritized-subsystem=module,block,tpmrm,net,tty,input |