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

This commit is contained in:
Lennart Poettering 2010-05-20 02:05:28 +02:00
parent 9949ac0cec
commit 1afaf57346
2 changed files with 3 additions and 1 deletions

View File

@ -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 = \

View File

@ -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