mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-19 06:22:24 +01:00
2ca5f390c4
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
28 lines
430 B
Bash
Executable File
28 lines
430 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: rtsold
|
|
# REQUIRE: netif
|
|
# BEFORE: NETWORKING
|
|
# KEYWORD: nojailvnet shutdown
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="rtsold"
|
|
desc="Router solicitation daemon"
|
|
rcvar="rtsold_enable"
|
|
command="/usr/sbin/${name}"
|
|
pidfile="/var/run/${name}.pid"
|
|
start_postcmd="rtsold_poststart"
|
|
|
|
rtsold_poststart()
|
|
{
|
|
# wait for DAD
|
|
sleep $(($(${SYSCTL_N} net.inet6.ip6.dad_count) + 1))
|
|
}
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|