mirror of
https://github.com/FD-/RPiPlay.git
synced 2026-02-27 21:01:07 +00:00
5
Starting RPiPlay at system start
FD- edited this page 2019-08-16 11:40:41 +02:00
The easiest way for starting RPiPlay as soon as the user is logged in is to add it to a user's .bashrc file:
pi@raspberrypi:~$ nano .bashrc
Add this to the end:
# within an SSH-session, ${SSH_TTY} will be set
if [ "x${SSH_TTY}" = "x" ]; then
/home/pi/rpiplay # Or wherever the rpiplay binary is located
fi
For automatically logging in after booting (and thus automatically starting RPiPlay), use the autologin option in raspi-config's boot settings.
In case you want to stop RPiPlay, all you have to do is then to connect a keyboard to your Pi and press Ctrl + C.