From fa4bb126f713e221696aedf2f2ba636577132772 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Tue, 5 Mar 2024 10:59:21 +0100
Subject: Update post-up hook for wireguard to not break on referenced
variables
---
data.d/vpn-wireguard/hooks/post-up | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'data.d')
diff --git a/data.d/vpn-wireguard/hooks/post-up b/data.d/vpn-wireguard/hooks/post-up
index a824a30..1c5fe4f 100755
--- a/data.d/vpn-wireguard/hooks/post-up
+++ b/data.d/vpn-wireguard/hooks/post-up
@@ -12,7 +12,7 @@ main() {
while read -r addr;
do
check "$addr" &
- done < <(awk -F= '/vpn-wireguard.ip/ { print $NF }' /etc/bashtard/hosts.d/*)
+ done < <(awk -F= '/vpn-wireguard.ip=/ { print $NF }' /etc/bashtard/hosts.d/*)
wait
}
--
cgit v1.1