I'm working on a uCLinux system and need to set a custom environment variable. I want the variable set early in the boot sequence so that started daemons can read it. I tried exporting the variable in the rcS startup script (before it launches the main startup scripts from /etc/rc.d/rcS.d/, this seems to work OK, but the login shell msh does not inherit the variable.
How do I configure the system so that basically all processes started see this new environment variable?
TY, Fred