I have some custom libraries and executables. In some of the linux distributions in .bashrc file I can set or add custom path by adding export and path.
I am using iMX287 EVK from freescale.
I want to add path to custom libraries using LD_LIBRARY_PATH environment path variable (i.e want to set this variable) automatically during bootup.
How I can do this? rc.conf can be used or not?
Thanks.
yes, you can. or you can use rc.local
Thanks.
Typically shell executable commands can be placed here but is it possible to set environment variables here?
How we can set them?