9 lines
142 B
Bash
Executable file
9 lines
142 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
for conf in /etc/wireguard/*.conf; do
|
|
[ -e "$conf" ] || continue;
|
|
wg-quick up "$conf"
|
|
done
|
|
|
|
exec chpst -b wireguard pause
|