aboutsummaryrefslogtreecommitdiff
path: root/init.d.BSD/rarpd
diff options
context:
space:
mode:
Diffstat (limited to 'init.d.BSD/rarpd')
-rw-r--r--init.d.BSD/rarpd11
1 files changed, 6 insertions, 5 deletions
diff --git a/init.d.BSD/rarpd b/init.d.BSD/rarpd
index e054d56c..16ed6de6 100644
--- a/init.d.BSD/rarpd
+++ b/init.d.BSD/rarpd
@@ -25,14 +25,15 @@
# SUCH DAMAGE.
command=/usr/sbin/rarpd
-command_args="-f ${RARPD_ARGS}"
+command_args="-f ${rarpd_args}"
pidfile=/var/run/rarpd.pid
name="Reverse ARP Daemon"
+required_files="/etc/ethers"
-if [ -z "${RARPD_INTERFACE}" ]; then
+if [ -z "${rarpd_interface}" ]; then
command_args="${command_args} -a"
else
- command_args="${command_args} ${RARPD_INTERFACE}"
+ command_args="${command_args} ${rarpd_interface}"
fi
command_background="YES"
@@ -40,9 +41,9 @@ depend() {
need localmount
after bootmisc
- if [ -z "${RARPD_INTERFACE}" ]; then
+ if [ -z "${rarpd_interface}" ]; then
need net
else
- net net."${RARPD_INTERFACE}"
+ net net."${rarpd_interface}"
fi
}