fixing vars
This commit is contained in:
parent
bd95a2d4c9
commit
9540aed1a8
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue