Explorar el Código

Added setup.sh to setup sendMail.sh

master
BinHong Lee hace 7 años
padre
commit
a106b31a91
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  1. +8
    -0
      setup.sh

+ 8
- 0
setup.sh Ver fichero

@@ -0,0 +1,8 @@
#!/bin/bash
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
chmod 755 sendMail.sh
echo "Emergency contact set as \"$inputline\""


Cargando…
Cancelar
Guardar