summaryrefslogtreecommitdiff
path: root/units/kmod-static-nodes.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'units/kmod-static-nodes.service.in')
-rw-r--r--units/kmod-static-nodes.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/kmod-static-nodes.service.in b/units/kmod-static-nodes.service.in
index 368f980fd1..0934a8751f 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]