3780b79801 | ||
---|---|---|
README.md | ||
cron-and-profile | ||
latest-1.jpg | ||
latest-2.jpg | ||
latest.jpg | ||
sunflower.sh |
README.md
sunflower
Requires https://github.com/at-adityavikram/himawari.git
.profile
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
echo "SSH Connection, skipping FBI"
else
sudo /usr/bin/fbi -T 1 -d /dev/fb0 -noverbose -t 60 -cachemem 0 /home/pi/sunflower/latest.jpg /home/pi/sunflower/latest-1.jpg /home/pi/sunflower/latest-2.jpg
fi
cron
*/10 * * * * /bin/bash /home/pi/sunflower/sunflower.sh > /dev/null