mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 18:55:40 +03:00
fedora: we must call the halt script with a symlink of reboot for rebooting
This commit is contained in:
parent
9949ac0cec
commit
1afaf57346
@ -477,6 +477,8 @@ if TARGET_FEDORA
|
|||||||
( cd $(DESTDIR)$(systemunitdir) && \
|
( cd $(DESTDIR)$(systemunitdir) && \
|
||||||
rm -f local.service && \
|
rm -f local.service && \
|
||||||
$(LN_S) rc-local.service local.service )
|
$(LN_S) rc-local.service local.service )
|
||||||
|
( cd $(DESTDIR)/etc/init.d && \
|
||||||
|
$(LN_S) halt reboot > /dev/null 2>&1 || true )
|
||||||
endif
|
endif
|
||||||
|
|
||||||
DISTCHECK_CONFIGURE_FLAGS = \
|
DISTCHECK_CONFIGURE_FLAGS = \
|
||||||
|
@ -14,4 +14,4 @@ After=shutdown.target killall.service
|
|||||||
Type=finish
|
Type=finish
|
||||||
ValidNoProcess=yes
|
ValidNoProcess=yes
|
||||||
Environment=RUNLEVEL=6
|
Environment=RUNLEVEL=6
|
||||||
ExecStart=@/etc/init.d/halt reboot start
|
ExecStart=/etc/init.d/reboot start
|
||||||
|
Loading…
Reference in New Issue
Block a user