summaryrefslogtreecommitdiff
path: root/distrib/special
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-08-06 00:16:02 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-08-06 00:16:02 +0000
commit90f59e7cb002f283feb749ef1807c81124d8f795 (patch)
treed51212e252a155ef70426253e59a398f4cee307a /distrib/special
parent8ee526db5dbe623730d9c42157573a6d8e160ffe (diff)
Build a smaller init for ramdisk images.
o Don't complain about missing /etc/rc o Exec /bin/sh instead of prompting for a shell to run
Diffstat (limited to 'distrib/special')
-rw-r--r--distrib/special/init/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/distrib/special/init/Makefile b/distrib/special/init/Makefile
new file mode 100644
index 00000000000..bcaacd0fcb0
--- /dev/null
+++ b/distrib/special/init/Makefile
@@ -0,0 +1,11 @@
+# $OpenBSD: Makefile,v 1.1 2000/08/06 00:16:01 millert Exp $
+
+PROG= init
+MAN=
+COPTS+=-Os
+CFLAGS+=-DDEFAULT_STATE=single_user
+DPADD= ${LIBUTIL}
+LDADD= -lutil
+.PATH: ${.CURDIR}/../../../sbin/init
+
+.include <bsd.prog.mk>