Tuesday, January 7, 2014

Run program on startup automatically

A simple way to run a program on startup automatically, is editing /etc/rc.local to run it.

Refer to last post of "Setup Tontec 2.4-inch TFT LCD 240x320 RGB Pixels Touch Screen Display Monitor For Raspberry Pi", I want to run the program mztx06a on startup automatically.

sudo nano /etc/rc.local

Insert the code to run mztx06a.

/etc/rc.local
/etc/rc.local
remark: where the last '&' force the program run in background.




No comments: