fixing vars

This commit is contained in:
James Tomasino 2018-12-17 17:45:48 -05:00
parent bd95a2d4c9
commit 9540aed1a8
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ run_user=$(id -u)
if [ "$run_user" -eq 0 ] || [ "$run_user" -eq 1000 ]; then
if [ -f "$1" ]; then
for u in $(members users); do
sed -e "s/username/${u}/g" "$1" | sendmail "$u"
sed -e "s/USERNAME/${u}/g" "$1" | sendmail "$u"
done
else
printf "Filename of email required.\\n"

View File

@ -1,6 +1,6 @@
Subject: Expanding the universe
Hi ~username,
Hi ~USERNAME,
Thanks for joining cosmic.voyage and making it such an awesome
place right out of the gate. I've been thrilled waking up each day
@ -42,7 +42,7 @@ keep that up and invite more!
In case you joined in the beginning when things were a little more
ad-hoc, here's our current process for becoming a new user:
1. pick a user-name
1. pick a username
2. send me a ssh pubkey
That's it! I'll add the user to the system using that pubkey. Once