#!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-apps/nut/files/upsmon.rc6,v 1.1 2004/08/15 15:19:10 stuart Exp $ depend() { need net } start() { ebegin "Starting upsmon" start-stop-daemon --start --quiet --exec /usr/sbin/upsmon eend $? } stop() { ebegin "Stopping upsmon" start-stop-daemon --stop --quiet --pidfile /var/run/upsmon.pid eend $? }