summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-13 02:19:24 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-13 02:19:24 +0200
commit0278dfeb30a1d1022501f5671c548283d7ee9387 (patch)
treeb321aafc2148a16d3e8db9d894865631061b9b8c /Makefile.am
parent75676b7287c50b5e03ed0143c65b93d435ff8b6c (diff)
unit: create three seperate plymouth service for halt/poweroff/reboot
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am20
1 files changed, 15 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 3d33e79325..e4fcb43d4f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -195,7 +195,9 @@ dist_systemunit_DATA += \
units/fedora/sysinit.service \
units/fedora/single.service \
units/fedora/plymouth-quit.service \
- units/fedora/plymouth-shutdown.service
+ units/fedora/plymouth-reboot.service \
+ units/fedora/plymouth-poweroff.service \
+ units/fedora/plymouth-halt.service
endif
if TARGET_SUSE
@@ -820,7 +822,9 @@ install-data-hook:
if TARGET_FEDORA
$(MKDIR_P) -m 0755 \
$(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
- $(DESTDIR)$(pkgsysconfdir)/system/shutdown.target.wants \
+ $(DESTDIR)$(pkgsysconfdir)/system/reboot.target.wants \
+ $(DESTDIR)$(pkgsysconfdir)/system/poweroff.target.wants \
+ $(DESTDIR)$(pkgsysconfdir)/system/halt.target.wants \
$(DESTDIR)$(systemunitdir)/rescue.target.wants
( cd $(DESTDIR)$(pkgsysconfdir)/system && \
rm -f display-manager.service && \
@@ -835,9 +839,15 @@ if TARGET_FEDORA
( cd $(DESTDIR)$(systemunitdir)/rescue.target.wants && \
rm -f single.service && \
$(LN_S) $(systemunitdir)/single.service single.service )
- ( cd $(DESTDIR)$(pkgsysconfdir)/system/shutdown.target.wants && \
- rm -f plymouth-shutdown.service && \
- $(LN_S) $(systemunitdir)/plymouth-shutdown.service plymouth-shutdown.service )
+ ( cd $(DESTDIR)$(pkgsysconfdir)/system/reboot.target.wants && \
+ rm -f plymouth-reboot.service && \
+ $(LN_S) $(systemunitdir)/plymouth-reboot.service plymouth-reboot.service )
+ ( cd $(DESTDIR)$(pkgsysconfdir)/system/poweroff.target.wants && \
+ rm -f plymouth-poweroff.service && \
+ $(LN_S) $(systemunitdir)/plymouth-poweroff.service plymouth-poweroff.service )
+ ( cd $(DESTDIR)$(pkgsysconfdir)/system/halt.target.wants && \
+ rm -f plymouth-halt.service && \
+ $(LN_S) $(systemunitdir)/plymouth-halt.service plymouth-halt.service )
( cd $(DESTDIR)$(systemunitdir) && \
rm -f local.service && \
$(LN_S) rc-local.service local.service )