From 43e4711c6920f82dceed1d5c3dd8fba02031993f Mon Sep 17 00:00:00 2001 From: Naglfar Date: Mon, 30 Nov 2020 22:10:05 +0100 Subject: [PATCH] multiple recipients together --- include/functions | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/functions b/include/functions index e51cceb..f468841 100644 --- a/include/functions +++ b/include/functions @@ -24,8 +24,7 @@ makeuser_no_ansible() #sed -e "s/newusername/$1/g" -e "s/newpassword/$newpw/" $EMAIL_TEMPLATE | sudo mail $1 $2 $ADMIN_EMAIL #This is the welcome email for thunix - sed -e "s/newusername/$1/g" -e "s/newpassword/$newpw/g" include/email.tmpl | sudo mail -s "Welcome to Thunix!" $2 - sed -e "s/newusername/$1/g" -e "s/newpassword/$newpw/g" include/email.tmpl | sudo mail -s "Welcome to Thunix!" $ADMIN_EMAIL + sed -e "s/newusername/$1/g" -e "s/newpassword/$newpw/g" include/email.tmpl | sudo mail -s "Welcome to Thunix!" $2,$ADMIN_EMAIL sub_to_list $1 #We don't need this for thunix, since ansible will do it