schleife
Technical User
- Feb 5, 2001
- 39
hi all
i am running aix4.3.3 ML 8.
i want to set an environment variable.
i put in /etc/environment: COBDIR=/usr/lpp/cobol
export COBDIR
when i logged in: echo $COBDIR
the COBDIR variable is empty
next i put in /etc/inittab: start:2:wait:/start.ksh
in /start.ksh : COBDIR=/usr/lpp/cobol
export COBDIR
the same result as above.
when i log in and type: . start.ksh
everything is ok.
what is my mistake?
thank's
schleife
i am running aix4.3.3 ML 8.
i want to set an environment variable.
i put in /etc/environment: COBDIR=/usr/lpp/cobol
export COBDIR
when i logged in: echo $COBDIR
the COBDIR variable is empty
next i put in /etc/inittab: start:2:wait:/start.ksh
in /start.ksh : COBDIR=/usr/lpp/cobol
export COBDIR
the same result as above.
when i log in and type: . start.ksh
everything is ok.
what is my mistake?
thank's
schleife