freebsd-skq/etc/rc.d/rarpd
kp c30b6bb1ad Allow more services to run in vnet jails
After some tests, here are the services that run into a vnet jail:
  - defaultroute
  - dhclient
  - ip6addrctl
  - natd
  - pf
  - pfsync
  - pflog (deamon runs, pflog0 interface usable, but /var/log/pflog not filled)
  - rarpd
  - route6d (do nothing anyway because obsolete)
  - routed (do nothing anyway because obsolete)
  - rtsold
  - static_arp
  - static_ndp

PR:		220530
Submitted by:	olivier@freebsd.org
2017-07-08 09:28:31 +00:00

23 lines
339 B
Bash
Executable File

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: rarpd
# REQUIRE: DAEMON FILESYSTEMS
# BEFORE: LOGIN
# KEYWORD: nojailvnet
. /etc/rc.subr
name="rarpd"
desc="Reverse ARP daemon"
rcvar="rarpd_enable"
command="/usr/sbin/${name}"
required_files="/etc/ethers"
load_rc_config $name
pidfile="${rarpd_pidfile:-/var/run/${name}.pid}"
run_rc_command "$1"