chiark / gitweb /
systemctl: fix "reboot" call
[elogind.git] / units / systemd-udevd.service.in
index 86c650c0db4805f8bf740bb8e76c73ea11b7cc8d..99f51304e4d511a4b30cfc102cbeb883d4790ded 100644 (file)
@@ -8,11 +8,11 @@
 [Unit]
 Description=udev Kernel Device Manager
 Documentation=man:systemd-udevd.service(8) man:udev(7)
+DefaultDependencies=no
 Wants=systemd-udevd-control.socket systemd-udevd-kernel.socket
 After=systemd-udevd-control.socket systemd-udevd-kernel.socket
 Before=sysinit.target
-DefaultDependencies=no
-ConditionCapability=CAP_MKNOD
+ConditionPathIsReadWrite=/sys
 
 [Service]
 Type=notify