summaryrefslogtreecommitdiffstats
path: root/sbin/init/Makefile
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-12-05 20:26:55 +0000
committered <ed@FreeBSD.org>2009-12-05 20:26:55 +0000
commit171b5b95537d583c86570cab90a397c555bbf272 (patch)
treed0ee711ca12aea5c3b84fcace77f514d74e6e803 /sbin/init/Makefile
parent84b72ef5098611dca55f69c69591e7491244c45e (diff)
downloadFreeBSD-src-171b5b95537d583c86570cab90a397c555bbf272.zip
FreeBSD-src-171b5b95537d583c86570cab90a397c555bbf272.tar.gz
Let init(8) and reboot(8) use utmpx to log wtmp entries.
logwtmp() gets called with the raw strings that are written to disk. For regular user entries, this isn't too bad, but when booting/shutting down, the contents get rather cryptic. Just call the standardized pututxline().
Diffstat (limited to 'sbin/init/Makefile')
-rw-r--r--sbin/init/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/init/Makefile b/sbin/init/Makefile
index 7497a4b..7778c71 100644
--- a/sbin/init/Makefile
+++ b/sbin/init/Makefile
@@ -6,8 +6,8 @@ MAN= init.8
PRECIOUSPROG=
INSTALLFLAGS=-b -B.bak
CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT
-DPADD= ${LIBUTIL} ${LIBCRYPT}
-LDADD= -lutil -lcrypt
+DPADD= ${LIBUTIL} ${LIBULOG} ${LIBCRYPT}
+LDADD= -lutil -lulog -lcrypt
NO_SHARED?= YES
OpenPOWER on IntegriCloud