|
How to pass a environment variable from bootload to /etc/profile
|
06/30/2016 1:19 AM
post116501
|
How to pass a environment variable from bootload to /etc/profile
Hi,
My .build file has this settings.
[+script] .script = {
SYSNAME=nto
TERM=qansi-m
TEST=1
/proc/boot/sysinit
}
The "TEST" variable can be 1 or 0, depending on configuration.
I want the TEST variable to be exported as an environment variable and be present in /etc/profile. (export TEST=1 or 0 ,
depending on the above setting)
Please suggest, how to do this.
regards,
Manas
|
|
|