summaryrefslogtreecommitdiff
path: root/units/systemd-modules-load.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'units/systemd-modules-load.service.in')
-rw-r--r--units/systemd-modules-load.service.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/units/systemd-modules-load.service.in b/units/systemd-modules-load.service.in
index 739729e692..5dc373d208 100644
--- a/units/systemd-modules-load.service.in
+++ b/units/systemd-modules-load.service.in
@@ -11,7 +11,11 @@ DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service
Before=sysinit.target shutdown.target
-ConditionDirectoryNotEmpty=/etc/modules-load.d
+ConditionDirectoryNotEmpty=|/lib/modules-load.d
+ConditionDirectoryNotEmpty=|/usr/lib/modules-load.d
+ConditionDirectoryNotEmpty=|/usr/local/lib/modules-load.d
+ConditionDirectoryNotEmpty=|/etc/modules-load.d
+ConditionDirectoryNotEmpty=|/run/modules-load.d
[Service]
Type=oneshot