<html><head><style> body {height: 100%; color:#000000; font-size:12pt; font-family:arial, helvetica, sans-serif;}</style></head><body><div><pre style="white-space: pre-wrap; color: #000000; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;" data-mce-style="white-space: pre-wrap; color: #000000; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">Hi Aaron,<br><br>etc/rc.d/ip6addrctl doesn't work, as afexists function needs to be implemented.<br><br>On FreeBSD it is implemented in etc/network.subr.<br>For this they use some sysctl node we dont't have, so it needs a little tweaking.<br>(my first guess was that you just forgot to commit etc/network.subr, but afexists isn't in your recent commit)<br><br> -thomas<br>-<br>commit 03137732640d591d74a270e2e62930e966c5145f
Author: Aaron LI <<a href="http://lists.dragonflybsd.org/mailman/listinfo/commits" data-mce-href="http://lists.dragonflybsd.org/mailman/listinfo/commits">aly at aaronly.me</a>>
Date: Tue Nov 6 04:25:17 2018 +0800
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.
Summary of changes:
etc/defaults/rc.conf | 8 +++-
etc/rc.d/Makefile | 2 +-
etc/rc.d/ip6addrctl | 111 +++++++++++++++++++++++++++++++++++++++++++++++
share/man/man5/rc.conf.5 | 54 ++++++++++++++++++++++-
4 files changed, 172 insertions(+), 3 deletions(-)
create mode 100644 etc/rc.d/ip6addrctl
<a href="http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/03137732640d591d74a270e2e62930e966c5145f" data-mce-href="http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/03137732640d591d74a270e2e62930e966c5145f">http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/03137732640d591d74a270e2e62930e966c5145f</a></pre></div></body></html>