mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
030ee53fa1
rc.d/rarpd and rc.d/wpa_supplicant)
20 lines
302 B
Bash
Executable File
20 lines
302 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: bsnmpd
|
|
# REQUIRE: NETWORKING syslogd
|
|
# KEYWORD: nojail shutdown
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="bsnmpd"
|
|
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"
|