Add the "single" runlevel

This commit is contained in:
William Hubbs 2019-07-29 16:24:52 -05:00
parent 70b8df3e9c
commit 104eb3420b

View File

@ -13,6 +13,7 @@ BOOTDIR= ${LEVELDIR}/boot
DEFAULTDIR= ${LEVELDIR}/default
NONETWORKDIR= ${LEVELDIR}/nonetwork
SHUTDOWNDIR= ${LEVELDIR}/shutdown
SINGLEDIR= ${LEVELDIR}/single
ifeq (${MKNET},yes)
BOOT+= network staticroute
@ -90,6 +91,9 @@ install:
fi; \
ln -snf ${INITDIR}/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \
fi
if ! test -d "${SINGLEDIR}"; then \
${INSTALL} -d ${SINGLEDIR} || exit $$?; \
fi
check test::