summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-rw-r--r--units/systemd-modules-load.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-modules-load.service.in b/units/systemd-modules-load.service.in
index 59482953fc..612338b619 100644
--- a/units/systemd-modules-load.service.in
+++ b/units/systemd-modules-load.service.in
@@ -11,6 +11,7 @@ DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service
Before=basic.target shutdown.target
+ConditionDirectoryNotEmpty=/etc/modules-load.d
[Service]
Type=oneshot