diff options
author | Patrick Spek <p.spek@tyil.nl> | 2024-03-05 10:59:21 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2024-03-05 11:53:14 +0100 |
commit | fa4bb126f713e221696aedf2f2ba636577132772 (patch) | |
tree | 2ed43dfeb57ae90318656b85a8c50cd30455e898 /data.d | |
parent | 1bf0372e61596f40b6d42329e4ea2d896928ebf4 (diff) |
Update post-up hook for wireguard to not break on referenced variables
Diffstat (limited to 'data.d')
-rwxr-xr-x | data.d/vpn-wireguard/hooks/post-up | 2 |
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 } |