chiark / gitweb /
shared/machine-pool: remove unnecessary check
[elogind.git] / units / kmod-static-nodes.service.in
index 368f980fd11548915900fb855b9a8663fc57b095..0934a8751f3c9d6e77d72452430bd3af4fac0a9c 100644 (file)
@@ -9,7 +9,7 @@
 Description=Create list of required static device nodes for the current kernel
 DefaultDependencies=no
 Before=sysinit.target systemd-tmpfiles-setup-dev.service
-ConditionCapability=CAP_MKNOD
+ConditionCapability=CAP_SYS_MODULE
 ConditionPathExists=/lib/modules/%v/modules.devname
 
 [Service]