From 2d54b32d2406de4ad624c011bf4b30ed45dabdaf Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 24 Aug 2018 10:35:23 +0200 Subject: Cleanup shutdown command, make reboot a symlink to shutdown Signed-off-by: David Oberhollenzer --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 3914c91..1a34912 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,6 +24,9 @@ if USYSLOGD include syslogd/Makemodule.am endif +install-exec-hook: + (cd $(DESTDIR)$(sbindir); $(LN_S) shutdown reboot) + install-data-local: $(MKDIR_P) $(DESTDIR)$(SVCDIR) $(LN_S) $(TEMPLATEDIR)/loopback $(DESTDIR)$(SVCDIR)/loopback -- cgit v1.2.3