Quellcode durchsuchen

peers.txt -> peers.cfg

dominik vor 3 Jahren
Ursprung
Commit
55b575347a
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      linux/wireguard/create-config/wg-createconfig.sh

+ 2 - 2
linux/wireguard/create-config/wg-createconfig.sh

@@ -62,7 +62,7 @@ Address = $serverip
 DNS = $dns
 EOL
 
-## Create peers' key-pair, psk and config from peers.txt
+## Create peers' key-pair, psk and config from peers.cfg
 while read peer;
  do
      ip=`echo $peer | cut -d' ' -f1`
@@ -79,4 +79,4 @@ PublicKey = `cat $confdir/$host.pub`
 AllowedIPs = $ip
 PresharedKey = `cat $confdir/$host.psk`
 EOL
- done < peers.txt
+ done < peers.cfg