From 41f25229dc471184320903d3ba63018e75f9efdd Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Wed, 24 Apr 2024 11:29:53 +0530 Subject: [PATCH] fish: functions/vpn: Invoke wg-quick with doas --- fish/.config/fish/functions/vpn.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fish/.config/fish/functions/vpn.fish b/fish/.config/fish/functions/vpn.fish index 81a544d..90f36d6 100644 --- a/fish/.config/fish/functions/vpn.fish +++ b/fish/.config/fish/functions/vpn.fish @@ -1,8 +1,8 @@ function vpn set -l var (ls /sys/class/net | grep vpn) if test -z "$var" - wg-quick up vpn + doas wg-quick up vpn else - wg-quick down vpn + doas wg-quick down vpn end end