c30b6bb1ad
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
23 lines
394 B
Bash
Executable File
23 lines
394 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: routed
|
|
# REQUIRE: netif routing
|
|
# BEFORE: NETWORK
|
|
# KEYWORD: nojailvnet
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="routed"
|
|
desc="Network RIP and router discovery routing daemon"
|
|
rcvar="routed_enable"
|
|
|
|
set_rcvar_obsolete router_enable routed_enable
|
|
set_rcvar_obsolete router routed_program
|
|
set_rcvar_obsolete router_flags routed_flags
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|