summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-09-22 13:31:53 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-09-22 13:31:53 +0200
commit3e24da51b9eebc950d3d0d39f87cfcf406b281dd (patch)
tree8023f7f992f5d05279ebb67095f8b56ad0ff3b48
parent8a7702cd06ee57b512f919f3ccb63785a68639a7 (diff)
units: enable getty.target by default
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 64e5ba4197..460cbb5bce 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -975,6 +975,9 @@ install-data-hook:
rm -f default.target ctrl-alt-del.target && \
$(LN_S) graphical.target default.target && \
$(LN_S) reboot.target ctrl-alt-del.target )
+ ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
+ rm -f getty.target && \
+ $(LN_S) ../getty.target getty.target )
( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
rm -f getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service && \
$(LN_S) $(systemunitdir)/getty@.service getty@tty1.service && \
@@ -984,8 +987,7 @@ install-data-hook:
$(LN_S) $(systemunitdir)/getty@.service getty@tty5.service && \
$(LN_S) $(systemunitdir)/getty@.service getty@tty6.service )
( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
- rm -f getty.target remote-fs.target && \
- $(LN_S) $(systemunitdir)/getty.target getty.target && \
+ rm -f remote-fs.target && \
$(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
rm -f dev-hugepages.automount \