diff options
author | Arcady Genkin <agenkin@gentoo.org> | 2002-03-03 16:35:40 +0000 |
---|---|---|
committer | Arcady Genkin <agenkin@gentoo.org> | 2002-03-03 16:35:40 +0000 |
commit | 99532f123a7f52003b34c505ac04a5a18955ea73 (patch) | |
tree | 2361168e498abeafdd2c5aaf48634a8e58086daf /app-admin/watchdog/files | |
parent | foo (diff) | |
download | historical-99532f123a7f52003b34c505ac04a5a18955ea73.tar.gz historical-99532f123a7f52003b34c505ac04a5a18955ea73.tar.bz2 historical-99532f123a7f52003b34c505ac04a5a18955ea73.zip |
The ebuild submitted by Leknor@Leknor.com (William A. McArthur, Jr.),
slightly changed.
Closes bug 691.
Diffstat (limited to 'app-admin/watchdog/files')
-rw-r--r-- | app-admin/watchdog/files/5.2/watchdog | 22 | ||||
-rw-r--r-- | app-admin/watchdog/files/digest-watchdog-5.2 | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/app-admin/watchdog/files/5.2/watchdog b/app-admin/watchdog/files/5.2/watchdog new file mode 100644 index 000000000000..669ceb9c5a49 --- /dev/null +++ b/app-admin/watchdog/files/5.2/watchdog @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/files/5.2/watchdog,v 1.1 2002/03/03 16:35:40 agenkin Exp $ + +depend() { + need localmount + use logger +} + +start() { + ebegin "Starting watchdog" + [ ! -e /dev/watchdog ] && eend 1 "/dev/watchdog not found" + start-stop-daemon --start --quiet --exec /usr/sbin/watchdog + eend $? +} + +stop() { + ebegin "Stopping watchdog" + start-stop-daemon --stop --quiet --exec /usr/sbin/watchdog + eend $? +} diff --git a/app-admin/watchdog/files/digest-watchdog-5.2 b/app-admin/watchdog/files/digest-watchdog-5.2 new file mode 100644 index 000000000000..ff7a265cda3f --- /dev/null +++ b/app-admin/watchdog/files/digest-watchdog-5.2 @@ -0,0 +1 @@ +MD5 aed04b6789fc592a401c05b8f3828a16 watchdog-5.2.tar.gz 126296 |