#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/fam-oss/files/fam,v 1.5 2003/02/14 22:01:30 vapier Exp $

depend() {
	need portmap
}

start() {
	ebegin "Starting fam"
	start-stop-daemon --start --quiet --exec /usr/bin/fam --background \
		-- -T 0 -c /etc/fam.conf
	eend $?
}

stop() {
	ebegin "Stopping fam"
	start-stop-daemon --stop --quiet --exec /usr/bin/fam
	eend $?
}
