chiark / gitweb /
fedora: we must call the halt script with a symlink of reboot for rebooting
[elogind.git] / Makefile.am
index 8b0aecd269d3eb9b3ca81bc8ca9fa87ca159c5a3..8f0fdaab2e96df733c1547eb3252eb15ad4c6394 100644 (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 = \