defect 3508456: add env vars XCATROOT and PATH in the /etc/environment for aix so that xcatd can be started successfully from /etc/inittab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
1a33167500
commit
658c947ca6
@ -247,6 +247,16 @@ echo "
|
||||
PERL5LIB=/usr/opt/perl5/lib/5.8.2:/usr/opt/perl5/lib/5.8.2/aix-thread-multi:/usr/opt/perl5/lib/site_perl/5.8.2:/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi " >>/etc/environment
|
||||
fi
|
||||
|
||||
if ! egrep XCATROOT /etc/environment > /dev/null 2>&1 ; then
|
||||
echo "
|
||||
# xCAT setup
|
||||
XCATROOT=$RPM_INSTALL_PREFIX0
|
||||
PATH=\$XCATROOT/bin:\$XCATROOT/sbin:$PATH
|
||||
MANPATH=\$XCATROOT/share/man:\$MANPATH
|
||||
export XCATROOT PATH MANPATH
|
||||
" >> /etc/environment
|
||||
fi
|
||||
|
||||
if ! egrep XCATROOT /etc/profile > /dev/null 2>&1 ; then
|
||||
echo "
|
||||
# xCAT setup
|
||||
|
Loading…
Reference in New Issue
Block a user