summaryrefslogtreecommitdiff
path: root/units/modprobe@.service
diff options
context:
space:
mode:
Diffstat (limited to 'units/modprobe@.service')
-rw-r--r--units/modprobe@.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/modprobe@.service b/units/modprobe@.service
index 5dca2cb771..34a0557735 100644
--- a/units/modprobe@.service
+++ b/units/modprobe@.service
@@ -13,6 +13,7 @@ DefaultDependencies=no
Before=sysinit.target
Documentation=man:modprobe(8)
ConditionCapability=CAP_SYS_MODULE
+ConditionPathExists=!/sys/module/%I
[Service]
Type=oneshot