freebsd-skq/etc/rc.d/rarpd
hrs 559bc2034e - Add IFT_L2VLAN (vlan(4)) support.
- Add -P option to support PID file.  When -a is specified /var/run/rarpd.pid
  is used, and when an interface is specified /var/run/rarpd.<ifname>.pid is
  used by default.
2012-07-09 08:11:16 +00:00

22 lines
306 B
Bash
Executable File

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: rarpd
# REQUIRE: DAEMON cleanvar
# BEFORE: LOGIN
# KEYWORD: nojail
. /etc/rc.subr
name="rarpd"
rcvar="rarpd_enable"
command="/usr/sbin/${name}"
required_files="/etc/ethers"
load_rc_config $name
pidfile="${rarpd_pidfile:-/var/run/${name}.pid}"
run_rc_command "$1"