From efac5c7dc8d15b2aab86080f6224ba58fe59940d Mon Sep 17 00:00:00 2001 From: Cameron Ball Date: Tue, 24 Mar 2015 08:45:41 +0000 Subject: [PATCH] Update readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 65ddc53..a1e3718 100644 --- 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 +``` -- 2.11.0