Skip to content

Commit 5c5129b

Browse files
committed
Remove "single" runlevel directory
Single user mode should be handled in the init process directly.
1 parent 0dabda6 commit 5c5129b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

runlevels/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ BOOTDIR= ${LEVELDIR}/boot
1313
DEFAULTDIR= ${LEVELDIR}/default
1414
NONETWORKDIR= ${LEVELDIR}/nonetwork
1515
SHUTDOWNDIR= ${LEVELDIR}/shutdown
16-
SINGLEDIR= ${LEVELDIR}/single
1716

1817
ifeq (${MKNET},yes)
1918
BOOT+= network staticroute
@@ -91,17 +90,13 @@ install:
9190
fi; \
9291
ln -snf ${INITDIR}/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \
9392
fi
94-
if ! test -d "${SINGLEDIR}"; then \
95-
${INSTALL} -d ${SINGLEDIR} || exit $$?; \
96-
fi
9793
if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \
9894
for x in tty1 tty2 tty3 tty4 tty5 tty6; do \
9995
ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \
10096
done; \
10197
for x in tty1 tty2 tty3 tty4 tty5 tty6; do \
10298
ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \
10399
done; \
104-
ln -snf ${INITDIR}/agetty.tty1 ${SINGLEDIR}/agetty.tty1 || exit $$?; \
105100
fi
106101

107102
check test::

0 commit comments

Comments
 (0)