From c56134d2db8b0aa9fb7c96b3142d108d57820b96 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 30 Nov 2010 13:46:58 -0500 Subject: Use proper keyword (#657974) --- systemd/system/fedora-autorelabel.service | 2 +- systemd/system/fedora-loadmodules.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'systemd') 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] -- cgit v1.2.1