summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2024-03-05 10:59:21 +0100
committerPatrick Spek <p.spek@tyil.nl>2024-03-05 11:53:14 +0100
commitfa4bb126f713e221696aedf2f2ba636577132772 (patch)
tree2ed43dfeb57ae90318656b85a8c50cd30455e898
parent1bf0372e61596f40b6d42329e4ea2d896928ebf4 (diff)
Update post-up hook for wireguard to not break on referenced variables
-rwxr-xr-xdata.d/vpn-wireguard/hooks/post-up2
1 files changed, 1 insertions, 1 deletions
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
}