Remove "single" runlevel directory
Single user mode should be handled in the init process directly.
This commit is contained in:
parent
0dabda6f6f
commit
5c5129b534
@ -13,7 +13,6 @@ BOOTDIR= ${LEVELDIR}/boot
|
|||||||
DEFAULTDIR= ${LEVELDIR}/default
|
DEFAULTDIR= ${LEVELDIR}/default
|
||||||
NONETWORKDIR= ${LEVELDIR}/nonetwork
|
NONETWORKDIR= ${LEVELDIR}/nonetwork
|
||||||
SHUTDOWNDIR= ${LEVELDIR}/shutdown
|
SHUTDOWNDIR= ${LEVELDIR}/shutdown
|
||||||
SINGLEDIR= ${LEVELDIR}/single
|
|
||||||
|
|
||||||
ifeq (${MKNET},yes)
|
ifeq (${MKNET},yes)
|
||||||
BOOT+= network staticroute
|
BOOT+= network staticroute
|
||||||
@ -91,9 +90,6 @@ install:
|
|||||||
fi; \
|
fi; \
|
||||||
ln -snf ${INITDIR}/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \
|
ln -snf ${INITDIR}/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \
|
||||||
fi
|
fi
|
||||||
if ! test -d "${SINGLEDIR}"; then \
|
|
||||||
${INSTALL} -d ${SINGLEDIR} || exit $$?; \
|
|
||||||
fi
|
|
||||||
if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \
|
if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \
|
||||||
for x in tty1 tty2 tty3 tty4 tty5 tty6; do \
|
for x in tty1 tty2 tty3 tty4 tty5 tty6; do \
|
||||||
ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \
|
ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \
|
||||||
@ -101,7 +97,6 @@ install:
|
|||||||
for x in tty1 tty2 tty3 tty4 tty5 tty6; do \
|
for x in tty1 tty2 tty3 tty4 tty5 tty6; do \
|
||||||
ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \
|
ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \
|
||||||
done; \
|
done; \
|
||||||
ln -snf ${INITDIR}/agetty.tty1 ${SINGLEDIR}/agetty.tty1 || exit $$?; \
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
check test::
|
check test::
|
||||||
|
Loading…
Reference in New Issue
Block a user