7 lines
113 B
Bash
Executable file
7 lines
113 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
for conf in /etc/wireguard/*.conf; do
|
|
[ -e "$conf" ] || continue;
|
|
wg-quick down "$conf"
|
|
done
|