openrc/init.d/rarpd.in

24 lines
465 B
Plaintext
Raw Normal View History

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