summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-02-16 09:36:13 +0100
committerHarald Hoyer <harald@redhat.com>2012-02-16 09:37:11 +0100
commita2c631c0a3d3208069ebccefc39f591e0595a545 (patch)
treedeff536042f54ad4b8fa90a9b04626b299a03aa0 /Makefile
parent6bee3369097fe27810df003e14f79589bb09aa7c (diff)
downloaddracut-a2c631c0a3d3208069ebccefc39f591e0595a545.tar.gz
dracut-a2c631c0a3d3208069ebccefc39f591e0595a545.tar.bz2
dracut-a2c631c0a3d3208069ebccefc39f591e0595a545.zip
Makefile: also link dracut-shutdown.service to shutdown target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 321e9238..6556c018 100644
--- 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: