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 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
@ -90,6 +91,9 @@ 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
check test:: check test::