Stop thing from dying (hopefully)
authorCameron Ball <c.ball1729@gmail.com>
Fri, 17 Apr 2015 10:47:01 +0000 (18:47 +0800)
committerCameron Ball <c.ball1729@gmail.com>
Fri, 17 Apr 2015 10:47:01 +0000 (18:47 +0800)
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