void-packages/srcpkgs/wireguard-tools/files/wireguard/finish

8 lines
113 B
Plaintext
Raw Normal View History

2020-06-09 18:12:40 +02:00
#!/bin/sh
set -e
for conf in /etc/wireguard/*.conf; do
[ -e "$conf" ] || continue;
wg-quick down "$conf"
done