openrc/init.d/rarpd.in

24 lines
462 B
Plaintext
Raw Normal View History

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