diff --git a/units/kmod-static-nodes.service.in b/units/kmod-static-nodes.service.in index 70605d997e..ec8c5da910 100644 --- a/units/kmod-static-nodes.service.in +++ b/units/kmod-static-nodes.service.in @@ -13,6 +13,7 @@ DefaultDependencies=no Before=sysinit.target systemd-tmpfiles-setup-dev-early.service ConditionCapability=CAP_SYS_MODULE ConditionFileNotEmpty=/lib/modules/%v/modules.devname +ConditionPathExists={{KMOD}} [Service] Type=oneshot