So I’ve been using linux for quite some time now but I haven’t had to mess with environment variables until now.=)
Basically I have a Set-Top Box running on linux and there’s a start.sh which is run every time the STB boots up. That’s where all the initialization is done and I’d like to keep it that way.
There are some apps which need some specific environment variables (like library paths and stuff).
What I want to do is set these environment variables in that start.sh so that every time I the applications would run fine (from any command line on any given time).
I’ve read that using export should do the trick and they usually put this stuff int /etc/profile. (but isn’t start.sh the same thing basically?).
But so far I have been unable in setting these global… variables