X-Git-Url: https://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=e0c74691c41a204eba2fd5f39615049fc9ff1648;hpb=54f601debc07addbed803fb847cd5bd3e91e021e 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]