HardenedBSD/etc/rc.d/route6d
Kristof Provost 2ca5f390c4 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

22 lines
369 B
Bash
Executable File

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: route6d
# REQUIRE: netif routing
# KEYWORD: nojailvnet
. /etc/rc.subr
name="route6d"
desc="RIP6 routing daemon"
rcvar="route6d_enable"
set_rcvar_obsolete ipv6_router_enable route6d_enable
set_rcvar_obsolete ipv6_router route6d_program
set_rcvar_obsolete ipv6_router_flags route6d_flags
load_rc_config $name
run_rc_command "$1"