aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--systemd/system/fedora-autorelabel.service2
-rw-r--r--systemd/system/fedora-loadmodules.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/systemd/system/fedora-autorelabel.service b/systemd/system/fedora-autorelabel.service
index 95877315..10b37f69 100644
--- a/systemd/system/fedora-autorelabel.service
+++ b/systemd/system/fedora-autorelabel.service
@@ -6,7 +6,7 @@ Conflicts=shutdown.target
After=local-fs.target
Before=sysinit.target shutdown.target
ConditionKernelCommandLine=autorelabel
-ConditionFileExists=/.autorelabel
+ConditionPathExists=/.autorelabel
[Service]
ExecStart=/lib/systemd/fedora-autorelabel
diff --git a/systemd/system/fedora-loadmodules.service b/systemd/system/fedora-loadmodules.service
index 8a3aaf4e..9b801258 100644
--- a/systemd/system/fedora-loadmodules.service
+++ b/systemd/system/fedora-loadmodules.service
@@ -4,7 +4,7 @@ DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service
Before=sysinit.target shutdown.target
-ConditionFileExists=/etc/rc.modules
+ConditionPathExists=/etc/rc.modules
ConditionDirectoryNotEmpty=/etc/sysconfig/modules/
[Service]