summaryrefslogtreecommitdiffstats
path: root/sbin/mount/Makefile
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-02-02 23:58:10 +0000
committerpjd <pjd@FreeBSD.org>2007-02-02 23:58:10 +0000
commitdc15ae189680b2124fae98087bdac446047f0f6d (patch)
treea98cd63beae75f8d995eac365b06b1b441489ec5 /sbin/mount/Makefile
parenta6c57fe6a9788e1153c281f016d466b04726484b (diff)
downloadFreeBSD-src-dc15ae189680b2124fae98087bdac446047f0f6d.zip
FreeBSD-src-dc15ae189680b2124fae98087bdac446047f0f6d.tar.gz
Use pidfile(3) API to restart mountd(8) on success mount.
This why we won't kill random process if there is a stale PID in /var/run/mountd.pid.
Diffstat (limited to 'sbin/mount/Makefile')
-rw-r--r--sbin/mount/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/mount/Makefile b/sbin/mount/Makefile
index 49005fb..4186f00 100644
--- a/sbin/mount/Makefile
+++ b/sbin/mount/Makefile
@@ -7,4 +7,7 @@ WARNS?= 6
MAN= mount.8
# We do NOT install the getmntopts.3 man page.
+DPADD= ${LIBUTIL}
+LDADD= -lutil
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud