[systemd-commits] Makefile.am units/fedora
Lennart Poettering
lennart at kemper.freedesktop.org
Wed May 19 17:05:35 PDT 2010
Makefile.am | 2 ++
units/fedora/reboot.service | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 1afaf57346eca958ffe9e1617bb875d556f89a01
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 20 02:05:28 2010 +0200
fedora: we must call the halt script with a symlink of reboot for rebooting
diff --git a/Makefile.am b/Makefile.am
index 8b0aecd..8f0fdaa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -477,6 +477,8 @@ if TARGET_FEDORA
( cd $(DESTDIR)$(systemunitdir) && \
rm -f local.service && \
$(LN_S) rc-local.service local.service )
+ ( cd $(DESTDIR)/etc/init.d && \
+ $(LN_S) halt reboot > /dev/null 2>&1 || true )
endif
DISTCHECK_CONFIGURE_FLAGS = \
diff --git a/units/fedora/reboot.service b/units/fedora/reboot.service
index 79c5ef4..20b9e9e 100644
--- a/units/fedora/reboot.service
+++ b/units/fedora/reboot.service
@@ -14,4 +14,4 @@ After=shutdown.target killall.service
Type=finish
ValidNoProcess=yes
Environment=RUNLEVEL=6
-ExecStart=@/etc/init.d/halt reboot start
+ExecStart=/etc/init.d/reboot start
More information about the systemd-commits
mailing list