From 559bc2034e8aa725e443f70d45bbaa57a713aed4 Mon Sep 17 00:00:00 2001 From: hrs Date: Mon, 9 Jul 2012 08:11:16 +0000 Subject: - 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..pid is used by default. --- etc/rc.d/rarpd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc') 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" -- cgit v1.1