Look in the /etc/rc.d/ directory. There should be a rc.local script there which is intended to be the last script executed by the boot process. Export your values from there and, I believe (but I've never done it, having no need), they should be visible to later processes. There are also rc.<n> scripts for each different run level, and the rc.sysinit script that controls the whole boot sequence.
Based on my reading of /etc/rc.d/rc.sysinit, I believe the boot sequence (for scripts) is:
which calls, in turn
/etc/rc.d/rc.<n> # for the specific run level
which, in turn, calls
/etc/init.d/* start # for all the services set to be started at the that run level
and then calls
Edit: Yes, /etc/profile is probably a better choice for your purposes.
Last edited by PTrenholme; 03-11-2006 at 09:03 AM.