diff options
author | William Hubbs <william.hubbs@sony.com> | 2019-07-29 16:24:52 -0500 |
---|---|---|
committer | William Hubbs <william.hubbs@sony.com> | 2019-07-29 16:27:14 -0500 |
commit | 104eb3420b9332b441ce9965ef69ba5b099519ae (patch) | |
tree | 58fd03660834aeffbda8ee73f055b99db62a1ed9 /runlevels/Makefile | |
parent | 70b8df3e9c7fed156e1a81ee7efe8a51c1010cb6 (diff) |
Add the "single" runlevel
Diffstat (limited to 'runlevels/Makefile')
-rw-r--r-- | runlevels/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
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:: |