@@ -9,6 +9,7 @@ attr global sendStatistics onUpdate
attr global statefile ./log/fhem.save
attr global updateInBackground 0
attr global verbose 2
+attr global nofork 1
define telnetPort telnet 7072 global
attr telnetPort room System
@@ -5,13 +5,4 @@ cd /opt/fhem
port=7072
echo "Starte FHEM"
-perl fhem.pl fhem.cfg
-
-echo "FHEM Update"
-perl fhem.pl 7072 "update all"
-echo "FHEM Neustart"
-perl fhem.pl 7072 "shutdown restart"
-echo "Alles fertig"
-tail -f /dev/null
+perl fhem.pl fhem.cfg