]> err.no Git - systemd/commitdiff
rc-local: no need to check if the script is executable
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 2 Dec 2011 10:32:04 +0000 (11:32 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 2 Dec 2011 10:32:04 +0000 (11:32 +0100)
rc-local.service is pulled in by a generator only if the script is
executable. No need to check again.

units/fedora/rc-local.service
units/suse/rc-local.service

index fade90c8dad284baa548be8fee537f211b3a0fba..36100dfe5419764ce66712dc6e86f4ba5ac408e9 100644 (file)
@@ -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
index 0b9e1d0f9bfb86956568f0ec310d2e537e3acb95..17f4322755ed518fbae2e2a8c4de6113b91a26a9 100644 (file)
@@ -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