start.sh 233 B

1234567891011121314151617
  1. #!/bin/bash
  2. set -e
  3. cd /opt/fhem
  4. port=7072
  5. echo "Starte FHEM"
  6. perl fhem.pl fhem.cfg
  7. echo "FHEM Update"
  8. perl fhem.pl 7072 "update all"
  9. echo "FHEM Neustart"
  10. perl fhem.pl 7072 "shutdown restart"
  11. echo "Alles fertig"
  12. tail -f /dev/null