#!/bin/sh
#
# $NetBSD: snmptt.sh,v 1.1.1.1 2011/04/13 10:23:47 bouyer Exp $
#
# PROVIDE: snmptt
# REQUIRE: DAEMON

if [ -f /etc/rc.subr ]; then
	. /etc/rc.subr
fi

name="snmptt"
rcvar=$name
command="/usr/pkg/sbin/${name}"
pidfile="/var/run/${name}.pid"
command_interpreter="/usr/pkg/bin/perl"

if [ -f /etc/rc.subr -a -f /etc/rc.conf -a -f /etc/rc.d/DAEMON ]; then
        load_rc_config $name
        run_rc_command "$1"
else
	echo -n " ${name}"
	${command}
fi
