This is for users at login, not at boot. Put it in your $HOME/.kshrc that gets
whenever you run a korn shell. In your $HOME/.profile, put
In your $HOME/.dtprofile, uncomment that last line that says to run the .profile
Something else to consider is that the setup_env.sh prepends stuff to the
path. So I also put in (at the beginning) of .kshrc the explicit path statement
as set in /etc/environment, plus any other stuff needed by other products on
the system. That way it idoes not keep getting longer and longer every time
you open a new window.
Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
I am running AIX 4.3.2 and Framework 3.6 and Netview 5.1.
Whenever my server has to be rebooted, I must source my Tivoli environment
so that I can run the Framework and Netview.
I have to type in ". /etc/Tivoli/setup_env.sh"
I would like to have this done automatically when the AIX box boots up.
I am not a shell script expert, but I think the code to accomplist this
would be something like....
if [ -f /etc/Tivoli/setup_env.sh] ; then
However, I am not sure where to place this within the AIX environemt.
Would it be best to edit the /etc/inittab file with a entry for a script,
say, rc.tivoli, and then include this code here?
Is there a better way of doing this?
Any help/info appreciated.
Get Your Private, Free Email at http://www.hotmail.com