diff options
author | Patrick Spek <p.spek@tyil.nl> | 2024-03-05 17:46:48 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2024-03-05 17:46:48 +0100 |
commit | 4ae485c6f0858c0893d73084b0367087aa493fa6 (patch) | |
tree | ca14ef448ce08a7e22c5f36a3302cfb8a0c1036d /data.d | |
parent | a70f155d7f4f30f981c0920452f6e0cbd9fb1b15 (diff) |
Update post-up script to check for dual-stack
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 1c5fe4f..b200922 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.ipv(4|6)=/ { print $NF }' /etc/bashtard/hosts.d/*) wait } |