From 0fbb79d54f30b9d2357d663cc663e1f799033cee Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 13 Jun 2013 11:40:58 +0200 Subject: [PATCH] move dracut-shutdown.service to modules.d/98systemd --- Makefile | 2 +- .../98systemd/dracut-shutdown.service | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename dracut-shutdown.service => modules.d/98systemd/dracut-shutdown.service (100%) 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 similarity index 100% rename from dracut-shutdown.service rename to modules.d/98systemd/dracut-shutdown.service