Michal Schmidt e43452
From 6d3970658de8f270b651e8b4cffbc464e3774428 Mon Sep 17 00:00:00 2001
Michal Schmidt e43452
From: Michal Schmidt <mschmidt@redhat.com>
Michal Schmidt e43452
Date: Fri, 2 Dec 2011 11:32:04 +0100
Michal Schmidt f1996e
Subject: [PATCH] rc-local: no need to check if the script is executable
Michal Schmidt e43452
Michal Schmidt e43452
rc-local.service is pulled in by a generator only if the script is
Michal Schmidt e43452
executable. No need to check again.
Michal Schmidt e43452
(cherry picked from commit e951701a4d90152447e195e926e0e12c7dcc0051)
Michal Schmidt e43452
---
Michal Schmidt e43452
 units/fedora/rc-local.service |    1 -
Michal Schmidt e43452
 units/suse/rc-local.service   |    1 -
Michal Schmidt e43452
 2 files changed, 0 insertions(+), 2 deletions(-)
Michal Schmidt e43452
Michal Schmidt e43452
diff --git a/units/fedora/rc-local.service b/units/fedora/rc-local.service
Michal Schmidt e43452
index fade90c..36100df 100644
Michal Schmidt e43452
--- a/units/fedora/rc-local.service
Michal Schmidt e43452
+++ b/units/fedora/rc-local.service
Michal Schmidt e43452
@@ -9,7 +9,6 @@
Michal Schmidt e43452
 # systemd-rc-local-generator if /etc/rc.d/rc.local is executable.
Michal Schmidt e43452
 [Unit]
Michal Schmidt e43452
 Description=/etc/rc.d/rc.local Compatibility
Michal Schmidt e43452
-ConditionFileIsExecutable=/etc/rc.d/rc.local
Michal Schmidt e43452
 
Michal Schmidt e43452
 [Service]
Michal Schmidt e43452
 Type=forking
Michal Schmidt e43452
diff --git a/units/suse/rc-local.service b/units/suse/rc-local.service
Michal Schmidt e43452
index df9a09b..11dc581 100644
Michal Schmidt e43452
--- a/units/suse/rc-local.service
Michal Schmidt e43452
+++ b/units/suse/rc-local.service
Michal Schmidt e43452
@@ -9,7 +9,6 @@
Michal Schmidt e43452
 # systemd-rc-local-generator if /etc/init.d/boot.local is executable.
Michal Schmidt e43452
 [Unit]
Michal Schmidt e43452
 Description=/etc/init.d/boot.local Compatibility
Michal Schmidt e43452
-ConditionFileIsExecutable=/etc/init.d/boot.local
Michal Schmidt e43452
 
Michal Schmidt e43452
 [Service]
Michal Schmidt e43452
 Type=oneshot
Michal Schmidt e43452
-- 
Michal Schmidt e43452
1.7.7.5
Michal Schmidt e43452