From 418c69a40104729bfda11d82ec580a30797ec641 Mon Sep 17 00:00:00 2001 From: BinHong Lee Date: Mon, 17 Apr 2017 07:02:15 -0700 Subject: [PATCH] Added another line to the created sendMail.sh by setup.sh --- setup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index fad7220..3e38a7d 100755 --- a/setup.sh +++ b/setup.sh @@ -2,7 +2,6 @@ rm sendMail.sh echo "Please enter the email of your emergency contact: " read inputline -printf "echo \"I fell from my bike! Please send help!\" | mail -s \"HELP\" -A \"photo.jpg\" $inputline\necho \"Email sent!\"" >> sendMail.sh +printf "echo \"Sending email...\"\necho \"I fell from my bike! Please send help!\" | mail -s \"HELP\" -A \"photo.jpg\" $inputline\necho \"Email sent!\"" >> sendMail.sh chmod 755 sendMail.sh echo "Emergency contact set as \"$inputline\"" -