From ed0e8bd5ec2c3a4edf72ba769e1d52b0964aea12 Mon Sep 17 00:00:00 2001 From: Daniel afx Date: Wed, 19 Jun 2024 10:09:44 +0000 Subject: [PATCH] send the config directly to the client --- .gitignore | 1 + peer_mail.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 04204c7..2808788 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ config +*.zip diff --git a/peer_mail.sh b/peer_mail.sh index 654b3b5..e7e9a55 100755 --- a/peer_mail.sh +++ b/peer_mail.sh @@ -61,8 +61,8 @@ cd .. mv payload.zip ${stname}_profile.zip # sent the message -mutt -s "WireGate VPN for ${email_client}" ${email_destination} -a ${stname}_profile.zip < mail.md -#mutt -s "WireGate VPN for ${email_client}" ${email_client} -a ${stname}_profile.zip < mail.md +#mutt -s "WireGate VPN for ${email_client}" ${email_destination} -a ${stname}_profile.zip < mail.md +mutt -s "WireGate VPN for ${email_client}" ${email_client} -a ${stname}_profile.zip < mail.md rm -f -r -v payload