summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--modules.d/98systemd/dracut-shutdown.service (renamed from dracut-shutdown.service)0
2 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 436421cc..62f85ec5 100644
--- a/Makefile
+++ b/Makefile
@@ -110,7 +110,7 @@ ifneq ($(enable_documentation),no)
endif
if [ -n "$(systemdsystemunitdir)" ]; then \
mkdir -p $(DESTDIR)$(systemdsystemunitdir); \
- install -m 0644 dracut-shutdown.service $(DESTDIR)$(systemdsystemunitdir); \
+ ln -srf $(DESTDIR)$(pkglibdir)/modules.d/98systemd/dracut-shutdown.service $(DESTDIR)$(systemdsystemunitdir)/dracut-shutdown.service; \
mkdir -p $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants; \
ln -s ../dracut-shutdown.service \
$(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants/dracut-shutdown.service; \
diff --git a/dracut-shutdown.service b/modules.d/98systemd/dracut-shutdown.service
index da3a5372..da3a5372 100644
--- a/dracut-shutdown.service
+++ b/modules.d/98systemd/dracut-shutdown.service