From 8bb61b90c1d791bafd5cd0b6c54093cccee425f4 Mon Sep 17 00:00:00 2001 From: Alexander Zubkov Date: Thu, 23 May 2024 16:56:42 +0200 Subject: 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 who proposed the solution and to Louis Sautier (sbraz) who proposed the patch. Closes: https://bugs.gentoo.org/678184 Closes: https://github.com/gentoo/netifrc/pull/54 Signed-off-by: Louis Sautier (sbraz) Signed-off-by: Alexander Zubkov Signed-off-by: Patrick McLean --- net/wireguard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3-65-gdbad