Commit 1afaf573 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

fedora: we must call the halt script with a symlink of reboot for rebooting

parent 9949ac0c
......@@ -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 = \
......
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment