summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2010-09-07 19:58:14 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-08 02:14:58 +0200
commite082d6c8d80f3f06d72ae838ee4a1213f108a5e4 (patch)
tree057611d65651b3db1171da5ca4381ff1783b7c64 /Makefile.am
parenta5dc0a45fefb5ea0b99ae3f0e2cea234aa4e4f9d (diff)
units: On Debian Runlevel 2, 3, 4 and 5 are multi-user
Patch by Tollef Fog Heen <tfheen@err.no> Extended to re-create the runlevel5.target symlink by Michael Biebl <biebl@debian.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index b40aa96c34..e1fe9e657f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -972,6 +972,9 @@ if TARGET_DEBIAN
$(LN_S) ../umountfs.service umountfs.service && \
$(LN_S) ../umountnfs.service umountnfs.service && \
$(LN_S) ../umountroot.service umountroot.service )
+ ( cd $(DESTDIR)$(systemunitdir) && \
+ rm -f runlevel5.target && \
+ $(LN_S) multi-user.target runlevel5.target )
endif
if !TARGET_SUSE
if !TARGET_DEBIAN