aboutsummaryrefslogtreecommitdiff
path: root/init.d.BSD/rarpd
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-23 12:04:11 +0000
committerRoy Marples <roy@marples.name>2007-11-23 12:04:11 +0000
commitd81def80b00a3dbcb4f8980f4503c4d659b48a2a (patch)
tree64a5df4281620cacbc1f03838d42e88167886fc9 /init.d.BSD/rarpd
parentf077f179edaeb746b267421baa29ec751c38b713 (diff)
Move /etc/conf.d/rc to /etc/rc.conf.
Lowercase all configurable variables, non configurations remain uppercase. Replace rc_env_bool with rc_yesno. Split localmount info procfs (Linux) and dumpon, savecore (BSD)
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
}