summaryrefslogtreecommitdiffstats
path: root/units/modprobe@.service
diff options
context:
space:
mode:
Diffstat (limited to 'units/modprobe@.service')
-rw-r--r--units/modprobe@.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/units/modprobe@.service b/units/modprobe@.service
index 4c5bd637e3..5dca2cb771 100644
--- a/units/modprobe@.service
+++ b/units/modprobe@.service
@@ -8,8 +8,11 @@
# (at your option) any later version.
[Unit]
-Description=Load kernel module %i
+Description=Load Kernel Module %i
+DefaultDependencies=no
+Before=sysinit.target
Documentation=man:modprobe(8)
+ConditionCapability=CAP_SYS_MODULE
[Service]
Type=oneshot