rc.d: Add ip6addrctl (enabled by default with policy AUTO)
authorAaron LI <aly@aaronly.me>
Mon, 5 Nov 2018 20:25:17 +0000 (04:25 +0800)
committerAaron LI <aly@aaronly.me>
Mon, 5 Nov 2018 20:30:14 +0000 (04:30 +0800)
commit03137732640d591d74a270e2e62930e966c5145f
tree7c9be94d354694f38cabc9383b55af5a61f9f7c4
parentb3e110e968baf5f9dacf3f02d2dd6b8aa6c12d4e
rc.d: Add ip6addrctl (enabled by default with policy AUTO)

Bring in the ip6addrctl rc script from FreeBSD.  It is enabled by
default with policy "AUTO", so the IPv4/IP6 preference is configured on
startup.  The rc variable "ip6addrctl_policy" is used to adjust the
preference (AUTO, ipv6_prefer, ipv6_prefer).

See the rc.conf(5) man page for more details.
etc/defaults/rc.conf
etc/rc.d/Makefile
etc/rc.d/ip6addrctl [new file with mode: 0644]
share/man/man5/rc.conf.5