wg-installer: create wireguard key if it does not exist
authorNick Hainke <vincent@systemli.org>
Thu, 20 Jan 2022 13:10:12 +0000 (14:10 +0100)
committerNick Hainke <vincent@systemli.org>
Thu, 20 Jan 2022 13:44:26 +0000 (14:44 +0100)
commit324fa79d7c8a90e899a81bbb3ae0c5a5a602f88e
tree207b7edcfca14f96399419d53ea9f75df4875bb0
parent432a965689f09c6bb86cd24753f79d739b9bcf46
wg-installer: create wireguard key if it does not exist

Check if the key exists which is given by
    option wg_key '/etc/wgserver/wg.key'

Signed-off-by: Nick Hainke <vincent@systemli.org>
net/wg-installer/Makefile
net/wg-installer/wg-server/lib/wg_functions.sh