Update pulse width to 100ms
[hdmi-switcher.git] / start.sh
1 #!/bin/bash
2 clear
3 /home/pi/hdmi-switcher/hdmi-switcher version
4 /home/pi/hdmi-switcher/update.sh
5 printf "Starting switching daemon..."
6 cd /home/pi/hdmi-switcher
7 nohup ./hdmi-switcher > /dev/null 2>&1 &
8 printf "\tOK\n"
9 printf "Starting video... "
10 sleep 5
11 printf "\tOK\n"
12 omxplayer --loop --no-osd -b -o both /home/pi/hdmi-switcher/video.mp4 > /dev/null 2>&1
13 clear