summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-12-02 11:32:04 +0100
committerMichal Schmidt <mschmidt@redhat.com>2011-12-02 11:32:04 +0100
commite951701a4d90152447e195e926e0e12c7dcc0051 (patch)
tree4d44033004cb3cfa10d3cb1aca86d7a314aa2d20 /units
parent156730831730701cada2750e826abbf7b113861f (diff)
rc-local: no need to check if the script is executable
rc-local.service is pulled in by a generator only if the script is executable. No need to check again.
Diffstat (limited to 'units')
-rw-r--r--units/fedora/rc-local.service1
-rw-r--r--units/suse/rc-local.service1
2 files changed, 0 insertions, 2 deletions
diff --git a/units/fedora/rc-local.service b/units/fedora/rc-local.service
index fade90c8d..36100dfe5 100644
--- a/units/fedora/rc-local.service
+++ b/units/fedora/rc-local.service
@@ -9,7 +9,6 @@
# systemd-rc-local-generator if /etc/rc.d/rc.local is executable.
[Unit]
Description=/etc/rc.d/rc.local Compatibility
-ConditionFileIsExecutable=/etc/rc.d/rc.local
[Service]
Type=forking
diff --git a/units/suse/rc-local.service b/units/suse/rc-local.service
index 0b9e1d0f9..17f432275 100644
--- a/units/suse/rc-local.service
+++ b/units/suse/rc-local.service
@@ -9,7 +9,6 @@
# systemd-rc-local-generator if /etc/init.d/boot.local is executable.
[Unit]
Description=/etc/init.d/boot.local Compatibility
-ConditionFileIsExecutable=/etc/init.d/boot.local
[Service]
Type=oneshot