aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--systemd/system/fedora-loadmodules.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/systemd/system/fedora-loadmodules.service b/systemd/system/fedora-loadmodules.service
index aac773b8..426d1710 100644
--- a/systemd/system/fedora-loadmodules.service
+++ b/systemd/system/fedora-loadmodules.service
@@ -6,10 +6,11 @@ Before=basic.target shutdown.target emergency.service emergency.target
#Conflicts=sysinit.service
After=udev.service
Requires=udev.service
+ConditionFileExists=/etc/rc.modules
+ConditionDirectoryNotEmpty=/etc/sysconfig/modules/
[Service]
ExecStart=/lib/systemd/fedora-loadmodules
Type=oneshot
TimeoutSec=0
RemainAfterExit=yes
-