Re: wireguard confusion

From: Kyle Evans <kevans_at_FreeBSD.org>
Date: Wed, 09 Oct 2024 19:38:18 UTC
On 10/9/24 14:08, fatty.merchandise677@aceecat.org wrote:
> On Wed, Oct 09, 2024 at 01:36:09PM GMT, Kyle Evans wrote:
> 
>> The rc script requires wg-quick(8), which relies on bash.
> 
> Not the one I see in wireguard-tools-lite. Maybe I should have
> been specific that's the package I installed.
> 


Oh, neat. TIL there's a lite flavor- that script seems to do effectively 
the same as the wg-quick version, just without some extra flavor like 
the DNS capability that you'd get from wg-quick.  I like that one, sure.

> Meanwhile, I just removed the package and copied the script
> manually into /usr/local/etc/rc.d, then edited the pathname.
> Works without a problem for now. But not sure what happens if
> base puts an equally named script into /etc/rc.d.
> 

IIRC rcorder will see both and, sharing a common rcvar, run both.