mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
units: add CAP_MKNOD condition to the other two udev services too
This commit is contained in:
parent
691206668a
commit
fb316903b8
@ -14,6 +14,7 @@ DefaultDependencies=no
|
||||
Wants=udev.service
|
||||
After=udev-trigger.service
|
||||
Before=basic.target
|
||||
ConditionCapability=CAP_MKNOD
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
@ -3,6 +3,7 @@ Description=udev Coldplug all Devices
|
||||
Wants=udev.service
|
||||
After=udev-kernel.socket udev-control.socket
|
||||
DefaultDependencies=no
|
||||
ConditionCapability=CAP_MKNOD
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
Loading…
Reference in New Issue
Block a user