Stop thing from dying (hopefully)
[hdmi-switcher.git] / start.sh
index ef9c7a6..1a030f2 100755 (executable)
--- a/start.sh
+++ b/start.sh
@@ -4,7 +4,7 @@ clear
 /home/pi/hdmi-switcher/update.sh
 printf "Starting switching daemon..."
 cd /home/pi/hdmi-switcher
-./hdmi-switcher > /dev/null 2>&1 &
+nohup ./hdmi-switcher > /dev/null 2>&1 &
 printf "\tOK\n"
 printf "Starting video... "
 sleep 5