git: rc.d: Add ip6addrctl (enabled by default with policy AUTO)
thomas.nikolajsen at mail.dk
Thu Nov 15 10:21:38 PST 2018
etc/rc.d/ip6addrctl doesn't work, as afexists function needs to be implemented.
On FreeBSD it is implemented in etc/network.subr.
For this they use some sysctl node we dont't have, so it needs a little tweaking.
(my first guess was that you just forgot to commit etc/network.subr, but afexists isn't in your recent commit)
Author: Aaron LI <aly at aaronly.me>
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Commits