create clients directory if not existent

This commit is contained in:
Philip (a-0) 2022-07-27 11:57:39 +02:00
parent af1e662192
commit 0e4fb0ecaa

View file

@ -25,6 +25,8 @@ wg-quick down wg0
mv /etc/wireguard/wg0-temp.conf /etc/wireguard/wg0.conf
wg-quick up wg0
mkdir /etc/wireguard/client
# generate client config file
echo "[Interface]
Address = $IP/24