head	1.6;
access;
symbols
	RELEASE-1_4:1.2.0.2
	GENTOO_1_4_SNAP_2003010800:1.1;
locks; strict;
comment	@# @;


1.6
date	2004.08.06.05.39.21;	author vapier;	state dead;
branches;
next	1.5;

1.5
date	2004.07.14.21.21.38;	author agriffis;	state Exp;
branches;
next	1.4;

1.4
date	2004.07.04.16.36.42;	author vapier;	state Exp;
branches;
next	1.3;

1.3
date	2004.02.13.19.10.36;	author vapier;	state Exp;
branches;
next	1.2;

1.2
date	2003.02.14.22.35.13;	author vapier;	state Exp;
branches;
next	1.1;

1.1
date	2002.03.03.16.35.40;	author agenkin;	state Exp;
branches;
next	;


desc
@@


1.6
log
@ver bump
@
text
@#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/files/5.2/watchdog,v 1.5 2004/07/14 21:21:38 agriffis Exp $

depend() {
	need localmount
	use logger
}

checkconfig() {
	if [ ! -e /dev/watchdog ] ; then
		eerror "/dev/watchdog does not exist!"
		return 1
	fi
	return 0
}

start() {
	checkconfig || return 1
	ebegin "Starting watchdog"
	start-stop-daemon --start --quiet --exec /usr/sbin/watchdog
	eend $?
}

stop() {
	ebegin "Stopping watchdog"
	start-stop-daemon --stop --quiet --exec /usr/sbin/watchdog
	eend $?
}
@


1.5
log
@Gentoo Technologies -> Gentoo Foundation
@
text
@d4 1
a4 1
# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/files/5.2/watchdog,v 1.4 2004/07/04 16:36:42 vapier Exp $
@


1.4
log
@rebuild Manifest
@
text
@d2 1
a2 1
# Copyright 1999-2004 Gentoo Technologies, Inc.
d4 1
a4 1
# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/files/5.2/watchdog,v 1.3 2004/02/13 19:10:36 vapier Exp $
@


1.3
log
@license update
@
text
@d4 1
a4 1
# $Header: /home/cvsroot/gentoo-x86/app-admin/watchdog/files/5.2/watchdog,v 1.2 2003/02/14 22:35:13 vapier Exp $
d11 8
d20 1
a21 1
	[ ! -e /dev/watchdog ] && eend 1 "/dev/watchdog not found"
@


1.2
log
@Update Copyright years
@
text
@d2 3
a4 3
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-x86/app-admin/watchdog/files/5.2/watchdog,v 1.1 2002/03/03 16:35:40 agenkin Exp $
@


1.1
log
@The ebuild submitted by Leknor@@Leknor.com (William A. McArthur, Jr.),
slightly changed.
Closes bug 691.
@
text
@d2 1
a2 1
# Copyright 1999-2002 Gentoo Technologies, Inc.
d4 1
a4 1
# $Header$
@

