mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-12-18 17:36:17 +00:00
Fixed issue where the wg0.conf template got obliterated.
Moved it to a safe spot.
This commit is contained in:
@@ -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