]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - etc/rc.d/bsnmpd
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / etc / rc.d / bsnmpd
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 # PROVIDE: bsnmpd
7 # REQUIRE: NETWORKING syslogd
8 # KEYWORD: nojail shutdown
9
10 . /etc/rc.subr
11
12 name="bsnmpd"
13 rcvar="bsnmpd_enable"
14 command="/usr/sbin/${name}"
15
16 load_rc_config $name
17 pidfile="${bsnmpd_pidfile:-/var/run/snmpd.pid}"
18 command_args="-p ${pidfile}"
19 run_rc_command "$1"