summaryrefslogtreecommitdiffstats
path: root/usr.sbin/watchdogd/Makefile
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-02-28 20:56:35 +0000
committerphk <phk@FreeBSD.org>2004-02-28 20:56:35 +0000
commit1ea4f5b08eb4973891b58c77d4bc90181d5e22bd (patch)
treef501264822e55dec659458e1357da5e001910c38 /usr.sbin/watchdogd/Makefile
parent993f5fc4042e0eeb6a00cb4aba3fe131dd8e9872 (diff)
downloadFreeBSD-src-1ea4f5b08eb4973891b58c77d4bc90181d5e22bd.zip
FreeBSD-src-1ea4f5b08eb4973891b58c77d4bc90181d5e22bd.tar.gz
Rename the WATCHDOG option to SW_WATCHDOG and make it use the
generic watchdoc(9) interface. Make watchdogd(8) perform as watchdog(8) as well, and make it possible to specify a check command to run, timeout and sleep periods. Update watchdog(4) to talk about the generic interface and add new watchdog(8) page.
Diffstat (limited to 'usr.sbin/watchdogd/Makefile')
-rw-r--r--usr.sbin/watchdogd/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/watchdogd/Makefile b/usr.sbin/watchdogd/Makefile
index de6f976..68675c7 100644
--- a/usr.sbin/watchdogd/Makefile
+++ b/usr.sbin/watchdogd/Makefile
@@ -1,7 +1,14 @@
# $FreeBSD$
PROG= watchdogd
-MAN= watchdogd.8
+LINKS= ${BINDIR}/watchdogd ${BINDIR}/watchdog
+MAN= watchdogd.8 watchdog.8
WARNS?= 6
+LDADD= -lm
+DPADD= ${LIBM}
+
.include <bsd.prog.mk>
+
+test: ${PROG}
+ ./${PROG} -t 1.0
OpenPOWER on IntegriCloud