summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-06-13 11:40:58 +0200
committerHarald Hoyer <harald@redhat.com>2013-06-13 11:42:26 +0200
commit0fbb79d54f30b9d2357d663cc663e1f799033cee (patch)
treefcd5e998040552ecf46e32e05344921e87d3758e
parent36c34f4e71620faf7ca34c44497ab53580d965c5 (diff)
downloaddracut-0fbb79d54f30b9d2357d663cc663e1f799033cee.tar.gz
dracut-0fbb79d54f30b9d2357d663cc663e1f799033cee.tar.bz2
dracut-0fbb79d54f30b9d2357d663cc663e1f799033cee.zip
move dracut-shutdown.service to modules.d/98systemd
-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