From: Harald Hoyer Date: Thu, 13 Jun 2013 09:40:58 +0000 (+0200) Subject: move dracut-shutdown.service to modules.d/98systemd X-Git-Tag: 029~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fbb79d54f30b9d2357d663cc663e1f799033cee;p=thirdparty%2Fdracut.git move dracut-shutdown.service to modules.d/98systemd --- diff --git a/Makefile b/Makefile index 436421cc3..62f85ec58 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