diff options
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | contrib/getty.boot | 4 |
2 files changed, 9 insertions, 3 deletions
@@ -1,13 +1,14 @@ # See license for licensing details -PREFIX=/usr -INITDIR=${PREFIX}/lib/init -VERSION=0.5.0 +PREFIX = /usr +INITDIR = ${PREFIX}/lib/init +VERSION = 0.5.1 install: mkdir -p ${DESTDIR}/etc install -Dm644 rc.conf ${DESTDIR}/etc/init/rc.conf install -Dm644 rc.lib ${DESTDIR}${INITDIR}/rc.lib + install -Dm644 -t ${DESTDIR}/etc/init/ contrib/getty.boot install -Dm755 rc.local ${DESTDIR}/etc/init/rc.local sed 's#INITDIR#${INITDIR}#g' < rc.boot > ${DESTDIR}${INITDIR}/rc.boot sed 's#INITDIR#${INITDIR}#g' < rc.shutdown > ${DESTDIR}${INITDIR}/rc.shutdown @@ -17,6 +18,7 @@ install: uninstall: rm -f ${DESTDIR}/etc/init/rc.conf rm -f ${DESTDIR}/etc/init/rc.local + rm -f ${DESTDIR}/etc/init/getty.boot rm -f ${DESTDIR}${INITDIR}/rc.boot rm -f ${DESTDIR}${INITDIR}/rc.shutdown rm -f ${DESTDIR}${INITDIR}/rc.lib diff --git a/contrib/getty.boot b/contrib/getty.boot new file mode 100644 index 0000000..bb5a5e3 --- /dev/null +++ b/contrib/getty.boot @@ -0,0 +1,4 @@ +for getty in 1 2 3 4 5 6; do + while :; do /sbin/getty 38400 tty${getty} 2>&1 ; done & # busybox getty + while :; do /sbin/getty /dev/tty${getty} linux 2>&1 ; done & # ubase getty +done |