Bug 259397 - net/wireguard-tools: rcng script does not have a "status" command
Summary: net/wireguard-tools: rcng script does not have a "status" command
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Bernhard Froehlich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-24 10:46 UTC by Patrick M. Hausen
Modified: 2021-11-05 14:00 UTC (History)
3 users (show)

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


Attachments
Patch to files/wireguard_wgquick.in (952 bytes, patch)
2021-10-24 10:46 UTC, Patrick M. Hausen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick M. Hausen 2021-10-24 10:46:50 UTC
Created attachment 228980 [details]
Patch to files/wireguard_wgquick.in

Hi all,

I just added a "status" command to the the wireguard rcng script, because I think it is missing.

Kind regards,
Patrick
Comment 1 commit-hook freebsd_committer 2021-11-05 12:18:48 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=af6b7cd3fe758510a4ef45775315e6a733404f47

commit af6b7cd3fe758510a4ef45775315e6a733404f47
Author:     Patrick M. Hausen <pmh@hausen.com>
AuthorDate: 2021-11-05 12:13:40 +0000
Commit:     Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2021-11-05 12:17:08 +0000

    net/wireguard-tools: Add status command to rc.d script

    PR:             259397
    Submitted by:   Patrick M. Hausen <pmh@hausen.com>

 net/wireguard-tools/Makefile                   |  1 +
 net/wireguard-tools/files/wireguard_lite.in    | 14 +++++++++++++-
 net/wireguard-tools/files/wireguard_wgquick.in | 15 ++++++++++++++-
 3 files changed, 28 insertions(+), 2 deletions(-)
Comment 2 Bernhard Froehlich freebsd_committer 2021-11-05 12:19:49 UTC
Thanks! I've committed your changes and also added your status command to the wireguard_lite rc.d script.
Comment 3 Mateusz Piotrowski freebsd_committer 2021-11-05 14:00:02 UTC
Hey, just a style note, there is no need to add status to the extra_commands variable. status is one of the commands defined automatically for each service.