start.sh 204 B

12345678910111213
  1. #!/bin/bash
  2. echo "Starte FHEM"
  3. sudo service fhem start
  4. echo "FHEM Update"
  5. perl fhem.pl 7072 "update all"
  6. echo "FHEM Neustart"
  7. perl fhem.pl 7072 "shutdown restart"
  8. echo "Alles fertig"
  9. tail -f /dev/null