commit 21b2a002cbc71afb02226ebae808b0c58a793a7c Author: Aaron LI <a...@aaronly.me> Date: Fri Nov 16 11:01:28 2018 +0800
rc.d/ip6addrctl: Fix REQUIRE and afexists() * DragonFly doesn't has the 'FILESYSTEMS' rc target. * I forgot to implement the 'afexists()' function when import this. However, FreeBSD's 'afexists()' relies 'kern.features.<feature>' sysctls to determine whether the address family is supported, but DragonFly doesn't allow this. So come up with a little 'has_inet6()' function for this rc script use only. Reported-by: Thomas Nikolajsen <thomas.nikolaj...@mail.dk> Summary of changes: etc/rc.d/ip6addrctl | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/21b2a002cbc71afb02226ebae808b0c58a793a7c -- DragonFly BSD source repository