* added support to Emerge -repository w/ repo/*
[t2sde.git] / package / network / wireguard / rocknet_wireguard.sh
blob3ac5faad4de5982fd108566916576401db43ef44
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/wireguard/rocknet_wireguard.sh
3 # Copyright (C) 2021 - 2023 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 public_wg_quick() {
13 addcode up 2 5 "wg-quick up $if"
14 addcode down 2 5 "wg-quick down $if"