summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-17 00:45:16 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-17 00:45:16 +0100
commit8564260aa0a2ab18f908079f886f7689844bfad5 (patch)
tree1cd8d4b4d7bb7e715a3229cb8f91eb783402fa63
parent25b5d47b961542ceca5f589cc69041b2d941c054 (diff)
systemd: log shutdown when doing kexec reboot
-rw-r--r--data/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index bf9e43b..c45f15b 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -44,7 +44,8 @@ install-data-hook:
$(DESTDIR)$(systemdsystemunitdir)/basic.target.wants \
$(DESTDIR)$(systemdsystemunitdir)/halt.target.wants \
$(DESTDIR)$(systemdsystemunitdir)/poweroff.target.wants \
- $(DESTDIR)$(systemdsystemunitdir)/reboot.target.wants
+ $(DESTDIR)$(systemdsystemunitdir)/reboot.target.wants \
+ $(DESTDIR)$(systemdsystemunitdir)/kexec.target.wants
( cd $(DESTDIR)$(systemdsystemunitdir)/basic.target.wants && \
$(LN_S) ../console-kit-log-system-start.service )
( cd $(DESTDIR)$(systemdsystemunitdir)/halt.target.wants && \
@@ -53,6 +54,8 @@ install-data-hook:
$(LN_S) ../console-kit-log-system-stop.service )
( cd $(DESTDIR)$(systemdsystemunitdir)/reboot.target.wants && \
$(LN_S) ../console-kit-log-system-restart.service )
+ ( cd $(DESTDIR)$(systemdsystemunitdir)/kexec.target.wants && \
+ $(LN_S) ../console-kit-log-system-restart.service )
endif
edit = sed \