mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-12-18 17:36:17 +00:00
working tests
This commit is contained in:
@@ -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."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user