Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/init/rc.d/bsnmpd
Property | Old Value | New Value |
---|---|---|
svn:executable | null | * \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
#!/bin/sh | |||||
# | |||||
# $FreeBSD$ | |||||
# | |||||
# PROVIDE: bsnmpd | |||||
# REQUIRE: NETWORKING syslogd | |||||
# KEYWORD: nojailvnet shutdown | |||||
. /etc/rc.subr | |||||
name="bsnmpd" | |||||
desc="Simple and extensible SNMP daemon" | |||||
rcvar="bsnmpd_enable" | |||||
command="/usr/sbin/${name}" | |||||
load_rc_config $name | |||||
pidfile="${bsnmpd_pidfile:-/var/run/snmpd.pid}" | |||||
command_args="-p ${pidfile}" | |||||
run_rc_command "$1" |