]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Makefile: also link dracut-shutdown.service to shutdown target
authorHarald Hoyer <harald@redhat.com>
Thu, 16 Feb 2012 08:36:13 +0000 (09:36 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 16 Feb 2012 08:37:11 +0000 (09:37 +0100)
Makefile

index 321e9238c6eb8582936c4ae945ff4fc8c2b5796f..6556c0186a0de1d6f61dc0c93c6a11ee5039cf6d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,9 @@ install: doc
                mkdir -p $(DESTDIR)$(systemdsystemunitdir); \
                install -m 0644 dracut-shutdown.service $(DESTDIR)$(systemdsystemunitdir); \
                mkdir -p $(DESTDIR)$(systemdsystemunitdir)/reboot.target.wants; \
+               mkdir -p $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants; \
                ln -s ../dracut-shutdown.service $(DESTDIR)$(systemdsystemunitdir)/reboot.target.wants/dracut-shutdown.service; \
+               ln -s ../dracut-shutdown.service $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants/dracut-shutdown.service; \
        fi
 
 clean: