mirror of
https://github.com/systemd/systemd.git
synced 2025-08-24 09:49:49 +03:00
unit: ignore exit code of "udevadm trigger"
Suggested at https://github.com/systemd/systemd/pull/18559#issuecomment-781626226. Some drivers may be broken and return unexpected errors on triggering events. That should be logged but should not boot-up to be affected.
This commit is contained in:
@ -19,5 +19,5 @@ ConditionPathIsReadWrite=/sys
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=udevadm trigger --type=subsystems --action=add
|
||||
ExecStart=udevadm trigger --type=devices --action=add
|
||||
ExecStart=-udevadm trigger --type=subsystems --action=add
|
||||
ExecStart=-udevadm trigger --type=devices --action=add
|
||||
|
Reference in New Issue
Block a user