Add the "single" runlevel
This commit is contained in:
parent
70b8df3e9c
commit
104eb3420b
@ -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::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user