From 104eb3420b9332b441ce9965ef69ba5b099519ae Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 29 Jul 2019 16:24:52 -0500 Subject: Add the "single" runlevel --- runlevels/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runlevels') diff --git a/runlevels/Makefile b/runlevels/Makefile index dbfb59ca..8d16e6d6 100644 --- a/runlevels/Makefile +++ b/runlevels/Makefile @@ -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:: -- cgit v1.2.3