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?
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 changeto in /etc/rc.local. don't need sudo, it's running root already.
code: select all
# print ip address _ip=$(hostname -i) || true if [ "$_ip" ]; printf "my ip address %s\n" "$_ip" fi exit 0
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
raspberrypi
Comments
Post a Comment