2013-02-12 17:09:50 -05:00
|
|
|
#!@SBINDIR@/runscript
|
2009-05-01 15:11:40 +01:00
|
|
|
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
|
2011-06-29 19:46:31 -04:00
|
|
|
# Released under the 2-clause BSD license.
|
2007-11-20 17:10:35 +00:00
|
|
|
|
|
|
|
command=/usr/sbin/rarpd
|
2009-04-27 07:51:18 +00:00
|
|
|
command_args="-f $rarpd_args"
|
2007-11-20 17:10:35 +00:00
|
|
|
pidfile=/var/run/rarpd.pid
|
|
|
|
name="Reverse ARP Daemon"
|
2009-04-27 07:51:18 +00:00
|
|
|
required_files=/etc/ethers
|
2007-11-20 17:10:35 +00:00
|
|
|
|
2009-04-27 07:51:18 +00:00
|
|
|
if [ -z "$rarpd_interface" ]; then
|
|
|
|
command_args="$command_args -a"
|
2007-11-20 17:10:35 +00:00
|
|
|
else
|
2009-04-27 07:51:18 +00:00
|
|
|
command_args="$command_args $rarpd_interface"
|
2007-11-20 17:10:35 +00:00
|
|
|
fi
|
2009-04-27 07:51:18 +00:00
|
|
|
command_background=YES
|
2007-11-20 17:10:35 +00:00
|
|
|
|
2008-01-11 12:13:46 +00:00
|
|
|
depend()
|
|
|
|
{
|
2007-11-20 17:10:35 +00:00
|
|
|
need localmount
|
|
|
|
after bootmisc
|
2009-04-27 07:51:18 +00:00
|
|
|
need net
|
2007-11-20 17:10:35 +00:00
|
|
|
}
|