aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Zubkov <green@qrator.net>2024-05-23 16:56:42 +0200
committerPatrick McLean <chutzpah@gentoo.org>2024-05-23 11:12:13 -0700
commit8bb61b90c1d791bafd5cd0b6c54093cccee425f4 (patch)
treea65b6a18767ab39cd201e0003e88341483193d1d
parentAllow setting blackhole-like routes (diff)
downloadnetifrc-8bb61b90c1d791bafd5cd0b6c54093cccee425f4.tar.gz
netifrc-8bb61b90c1d791bafd5cd0b6c54093cccee425f4.tar.bz2
netifrc-8bb61b90c1d791bafd5cd0b6c54093cccee425f4.zip
net/wireguard.sh: make wireguard module to run before interface
Wireguard module was configured to run after interface module, that caused interface-related settings like mtu not to apply, because wireguard interfaces was not present by that time. It seems logical that wireguard module should be run before interface module. Credits to lmk <lmkrawiec@gmail.com> who proposed the solution and to Louis Sautier (sbraz) <sbraz@gentoo.org> who proposed the patch. Closes: https://bugs.gentoo.org/678184 Closes: https://github.com/gentoo/netifrc/pull/54 Signed-off-by: Louis Sautier (sbraz) <sbraz@gentoo.org> Signed-off-by: Alexander Zubkov <green@qrator.net> Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
-rw-r--r--net/wireguard.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireguard.sh b/net/wireguard.sh
index bb71d6f..f6ca69e 100644
--- a/net/wireguard.sh
+++ b/net/wireguard.sh
@@ -6,7 +6,7 @@
wireguard_depend()
{
program wg
- after interface
+ before interface
}
wireguard_pre_start()