working tests

This commit is contained in:
Dselen
2024-10-03 08:11:21 -05:00
parent 9dd9be3b8c
commit d4819b13eb
2 changed files with 4 additions and 8 deletions

View File

@@ -31,8 +31,8 @@ ensure_installation() {
# This first step is to ensure the wg0.conf file exists, and if not, then its copied over from the ephemeral container storage.
if [ ! -f "/etc/wireguard/wg0.conf" ]; then
echo "Standard wg0 Configuration file not found, grabbing template."
cp "/setup/conf/wg0.conf" "/etc/wireguard/wg0.conf"
echo "Standard wg0 Configuration file not found, grabbing template. And adjusting permissions."
cp -a "/setup/conf/wg0.conf" "/etc/wireguard/wg0.conf"
echo "Setting a secure private key."