Update readme
authorCameron Ball <c.ball1729@gmail.com>
Tue, 24 Mar 2015 08:45:41 +0000 (08:45 +0000)
committerCameron Ball <c.ball1729@gmail.com>
Tue, 24 Mar 2015 08:45:41 +0000 (08:45 +0000)
README.md

index 65ddc53..a1e3718 100644 (file)
--- a/README.md
+++ b/README.md
@@ -19,4 +19,8 @@ The scripts assume the following:
 
 The usb-config script will naively look to see if /dev/sda1 exists. If it does, it mounts it and then copies over any files on the drive with names config.ini, video.mp4
 
-If you want to run the script on boot, you should use start.sh. start.sh runs the usb-config scripts, and then starts playing video.mp4 on a loop. It uses omxplayer (make sure whatever version you use has the --loop option).
+If you want to run the script on boot, you should use start.sh. start.sh runs the usb-config scripts, and then starts playing video.mp4 on a loop. It uses omxplayer (make sure whatever version you use has the --loop option). I would suggest simply adding the following to /etc/init.d/rc.local:
+
+```
+/home/pi/hdmi-switcher/start.sh
+```