diff options
author | hrs <hrs@FreeBSD.org> | 2012-07-09 08:11:16 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2012-07-09 08:11:16 +0000 |
commit | 559bc2034e8aa725e443f70d45bbaa57a713aed4 (patch) | |
tree | ab88f03af2ee164b3e23976e7d8a0ca26784bd58 /etc | |
parent | b3b0c82b64def2fad4b38ca0d29dea22fd3421c4 (diff) | |
download | FreeBSD-src-559bc2034e8aa725e443f70d45bbaa57a713aed4.zip FreeBSD-src-559bc2034e8aa725e443f70d45bbaa57a713aed4.tar.gz |
- 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.
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.d/rarpd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.d/rarpd b/etc/rc.d/rarpd index db5f0c4..9dffe43 100755 --- a/etc/rc.d/rarpd +++ b/etc/rc.d/rarpd @@ -13,8 +13,9 @@ name="rarpd" rcvar="rarpd_enable" command="/usr/sbin/${name}" -pidfile="/var/run/${name}.pid" required_files="/etc/ethers" load_rc_config $name +pidfile="${rarpd_pidfile:-/var/run/${name}.pid}" + run_rc_command "$1" |