Booting terminal - Raspberry Pi Forums


hello, i'm korea electronic engineer 'ajlee'.
have problem booting auto started-program.
in terminal, entried "sudo path myprogram" "sudo nano /etc/rc.local".
, booting system changed 'gui' -> 'terminal'.
result, booting terminal started , auto start program working well.
but, not have changed source-code. , return 'terminal' 'gui'.
how can solve problem?

if program in home directory change

code: select all

# print ip address _ip=$(hostname -i) || true if [ "$_ip" ];   printf "my ip address %s\n" "$_ip" fi  exit 0 
to

code: select all

# print ip address _ip=$(hostname -i) || true if [ "$_ip" ];   printf "my ip address %s\n" "$_ip" fi  /home/pi/myprogram_name_goes_here &  exit 0
in /etc/rc.local. don't need sudo, it's running root already.


raspberrypi



Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support