aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/system
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/system')
-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
-