aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount/Makefile
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2007-02-02 23:58:10 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2007-02-02 23:58:10 +0000
commite9988ceda3883db37630a0b547964d87278f166b (patch)
treea98cd63beae75f8d995eac365b06b1b441489ec5 /sbin/mount/Makefile
parent217f71d80c18126ebc293ff6a4784d934b1be743 (diff)
downloadsrc-e9988ceda3883db37630a0b547964d87278f166b.tar.gz
src-e9988ceda3883db37630a0b547964d87278f166b.zip
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.
Notes
Notes: svn path=/head/; revision=166439
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 49005fb98977..4186f00f6fd1 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>