[systemd-devel] [PATCH] Use /etc/rc.d/rc.local as the path to rc.local in Fedora.

Bill Nottingham notting at redhat.com
Tue Jun 21 12:35:44 PDT 2011


/etc/rc.local is a symlink.
---
 units/fedora/rc-local.service |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/units/fedora/rc-local.service b/units/fedora/rc-local.service
index a21a557..8c0b200 100644
--- a/units/fedora/rc-local.service
+++ b/units/fedora/rc-local.service
@@ -7,11 +7,11 @@
 
 [Unit]
 Description=/etc/rc.local Compatibility
-ConditionPathExists=/etc/rc.local
+ConditionPathExists=/etc/rc.d/rc.local
 
 [Service]
 Type=forking
-ExecStart=/etc/rc.local start
+ExecStart=/etc/rc.d/rc.local start
 TimeoutSec=0
 StandardOutput=tty
 RemainAfterExit=yes
-- 
1.7.5.4



More information about the systemd-devel mailing list