2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-24 15:05:36 +00:00

polish lsf_startup

This commit is contained in:
bybai
2016-03-28 02:37:53 -04:00
parent de566bf7dd
commit 7d3ba4d3f8

View File

@ -60,12 +60,12 @@ do
if [[ x${lsfnode} == x$NODE ]]
then
if grep -q -i "release 7.2" /etc/redhat-release ; then
if [[ -f /root/.bash_profile ]]
then
echo ". $LSF_TOP/conf/profile.lsf" >> /root/.profile
echo ". $LSF_TOP/conf/profile.lsf" >> /root/.bash_profile
else
#special case for redhat7.2
echo ". $LSF_TOP/conf/profile.lsf" >> ~/.bash_profile
echo ". $LSF_TOP/conf/profile.lsf" >> /root/.profile
fi
fi
done