Update README.md
This commit is contained in:
parent
b17c2dbe2c
commit
3780b79801
13
README.md
13
README.md
|
@ -1 +1,14 @@
|
|||
# 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`
|
||||
|
|
Loading…
Reference in New Issue