#!/bin/bash

echo "PiPresents will start in 10 seconds, as specified at end of .bashrc."
echo "  Hit any key to abort startup."
echo "After startup, Ctrl + Break will return you to the operating system."
#time **VV**   initially set to 10 second delay
read -t 10 -rsn1 input
if [ ${#input} -ne 0 ]; then
	echo "abort"
else
	echo "presentation start"
	cd
	cd pipresents
	python3 /home/pi/pipresents/pipresents.py -n -f -p NOAA_CDC
fi

#note, -f after pipresents.py will make it full screen
