瀏覽代碼

Added another line to the created sendMail.sh by setup.sh

master
BinHong Lee 7 年之前
父節點
當前提交
418c69a401
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. +1
    -2
      setup.sh

+ 1
- 2
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\""


Loading…
取消
儲存