doppeltunnel 4

This commit is contained in:
Désiré Werner Menrath 2023-11-09 17:28:22 +01:00
parent c2afbc414f
commit b1a4a0a273

3
wire_g
View File

@ -91,8 +91,7 @@ import_wg(){
*_*.conf) if grep -i 'PEER\|PublicKey' $wgconf > /dev/null && grep -i 'Interface\|PrivateKey' $wgconf > /dev/null
then
IFS=$'\n' lines=( $(cat ${wg_wdir}.tunnel.txt) )
for wgconf in "${lines[@]}"
for wgconf in $(cat ${wg_wdir}.tunnel.txt)
do
yad --window-icon=${wg_pic}wg-stop.png \
--image=${wg_pic}wg-info.png --button "OK" \