9683b76b99
Let lfs_cleanerd record its pid in /var/run like other daemons. Make mount_lfs not start another cleaner when updating the mount, unless it is being upgraded from read-only to read-write; when downgrading to read-only, kill the cleaner using the recorded pids.
14 lines
327 B
Makefile
14 lines
327 B
Makefile
# $NetBSD: Makefile,v 1.7 2000/11/13 22:12:50 perseant Exp $
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/5/93
|
|
|
|
PROG= lfs_cleanerd
|
|
CPPFLAGS+=-I${.CURDIR} -DDIAGNOSTIC
|
|
MAN= lfs_cleanerd.8
|
|
SRCS= cleanerd.c lfs_cksum.c library.c misc.c print.c
|
|
LDADD+=-lutil
|
|
DPADD+=${LIBUTIL}
|
|
|
|
.PATH: ${.CURDIR}/../../sys/ufs/lfs
|
|
|
|
.include <bsd.prog.mk>
|