X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fkmod-static-nodes.service.in;h=0934a8751f3c9d6e77d72452430bd3af4fac0a9c;hp=368f980fd11548915900fb855b9a8663fc57b095;hb=132764a2236fd6a4acb0e8d698f135c186677ad4;hpb=a18535d9e138c525d0443ec9f30a90b3e2184686 diff --git a/units/kmod-static-nodes.service.in b/units/kmod-static-nodes.service.in index 368f980fd..0934a8751 100644 --- a/units/kmod-static-nodes.service.in +++ b/units/kmod-static-nodes.service.in @@ -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]