Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672582 - net-vpn/wireguard: adding rudimentary init script using wg-quick
Summary: net-vpn/wireguard: adding rudimentary init script using wg-quick
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-12-05 20:24 UTC by Daniel Maxime
Modified: 2020-08-06 15:20 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
wireguard openrc init script (wireguard,378 bytes, text/plain)
2018-12-05 20:24 UTC, Daniel Maxime
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Maxime 2018-12-05 20:24:16 UTC
Created attachment 557130 [details]
wireguard openrc init script

Hello,

I attached a small and basic/rudimental OpenRC init script which act a little bit like openvpn, you can symlink it with config name extension and this script will wg-quick up/down your config

Nothing special and really basic script but does the job.
Comment 1 Thomas Capricelli 2020-06-21 01:31:05 UTC
Seems like a great script to add. Even if basic, it allows for integration with openrc.
Comment 2 Larry the Git Cow gentoo-dev 2020-08-06 15:20:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca76f01b51e1fe77cbd85e0ff15892209b6624bc

commit ca76f01b51e1fe77cbd85e0ff15892209b6624bc
Author:     Jason A. Donenfeld <zx2c4@gentoo.org>
AuthorDate: 2020-08-06 15:19:58 +0000
Commit:     Jason A. Donenfeld <zx2c4@gentoo.org>
CommitDate: 2020-08-06 15:20:31 +0000

    net-vpn/wireguard-tools: add init script
    
    Closes: https://github.com/gentoo/gentoo/pull/16794
    Closes: https://bugs.gentoo.org/672582
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>

 net-vpn/wireguard-tools/files/wg-quick.init        | 35 ++++++++++++++++++++++
 .../wireguard-tools-1.0.20200513.ebuild            |  1 +
 2 files changed, 36 insertions(+)