cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
liwenz
Explorer
Explorer
838 Views
Registered: ‎10-09-2017

how to autostart source /mnt/petalinux/settings.sh on ubuntu

Jump to solution

Every time, I have to key in  /mnt/petalinux/settings.sh. Could I auto start this command.

I google it, and add it to Startup applications, but I have nothing.

My linux is ubuntu 16.

0 Kudos
1 Solution

Accepted Solutions
aravindb
Moderator
Moderator
813 Views
Registered: ‎02-07-2018

Hi @liwenz

 

Please add below line as  part  your .bashrc script.

vim ~/.bashrc 

source /petalinux-v2016.4-final/settings.sh

 

Thanks & Regards

Aravind

 

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------

 

 

 

View solution in original post

0 Kudos
2 Replies
aravindb
Moderator
Moderator
814 Views
Registered: ‎02-07-2018

Hi @liwenz

 

Please add below line as  part  your .bashrc script.

vim ~/.bashrc 

source /petalinux-v2016.4-final/settings.sh

 

Thanks & Regards

Aravind

 

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------

 

 

 

View solution in original post

0 Kudos
liwenz
Explorer
Explorer
811 Views
Registered: ‎10-09-2017

Thanks, I got.

I tried it and worked well.

0 Kudos