mirror of
https://github.com/WGDashboard/WGDashboard.git
synced 2026-08-04 15:03:02 +00:00
Fixed issue where the wg0.conf template got obliterated.
Moved it to a safe spot.
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ ensure_installation() {
|
||||
|
||||
if [ ! -f "/etc/wireguard/wg0.conf" ]; then
|
||||
echo "Standard wg0 Configuration file not found, grabbing template."
|
||||
cp -a "/data/conf/wg0.conf" "/etc/wireguard/wg0.conf"
|
||||
cp -a "/configs/wg0.conf.template" "/etc/wireguard/wg0.conf"
|
||||
|
||||
echo "Setting a secure private key." # SORRY 4 BE4 - Daan
|
||||
|
||||
|
||||
Reference in New Issue
Block a user