4d67338c9e
arpwatch changes: - Convert arp2ethers from csh to sh - updated ethercode.dat - misc minor bugfixes Changes from Geert Hendrickx: - move ethercodes.dat to share/arpwatch (from etc) - Use ${VARBASE:Q} instead of ${VARBASE} as suggested by pkglint - Use OWN_DIRS to note the admin about the stale db directory after deinstallation Changes from William Fletcher: - add a rc.d script - add a '-m' option to specify the recipient for email messages (still defaults to root) Fix pkg/32151 by Geert Hendrickx
17 lines
209 B
Bash
17 lines
209 B
Bash
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
# $id$
|
|
#
|
|
|
|
# PROVIDE: arpwatch
|
|
# REQUIRE: DAEMON
|
|
# BEFORE: LOGIN
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="arpwatch"
|
|
rcvar=$name
|
|
command="/usr/pkg/sbin/${name}"
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|