Bug 269010 - net/wireguard-tools: add support to RC file for fibs/environment etc. from rc.conf variables
Summary: net/wireguard-tools: add support to RC file for fibs/environment etc. from rc...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Bernhard Froehlich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-17 16:31 UTC by Andrew
Modified: 2023-11-11 11:54 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (decke)


Attachments
patch to rc.d/wireguard (1.89 KB, patch)
2023-01-17 16:31 UTC, Andrew
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 2023-01-17 16:31:11 UTC
Created attachment 239538 [details]
patch to rc.d/wireguard

This patch adds support for wireguard_fib and the rest of the wireguard_ variables from rc.subr.
Modifies wireguard_start() to be pretty much a copy of the default in rc.subr but changed enough to run in the for loop.

I have only tested the fib variable, since that's the only one we need in our setup.
Comment 1 Allan Jude freebsd_committer freebsd_triage 2023-02-17 21:10:28 UTC
We'd like to see this land