Patch by Tollef Fog Heen <tfheen@err.no>
Extended to re-create the runlevel5.target symlink by Michael Biebl <biebl@debian.org>
$(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
m4_ifdef(`TARGET_SUSE',
Names=runlevel3.target
)m4_dnl
+m4_ifdef(`TARGET_DEBIAN',
+m4_dnl On Debian Runlevel 2, 3, 4 and 5 are multi-user
+Names=runlevel2.target runlevel3.target runlevel4.target runlevel5.target
+)m4_dnl
AllowIsolate=yes
[Install]