2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-24 20:52:08 +00:00

polish lsf_startup

This commit is contained in:
bybai 2016-03-28 03:10:43 -04:00
parent f852193495
commit 95a8db39f2

View File

@ -62,12 +62,12 @@ do
if [[ -f /root/.bash_profile ]]
then
if ! grep -q -i "#Added by lsf_startup" /root/.bash_profile ; then
echo "#Added by lsf_startup."
echo "#Added by lsf_startup." >> /root/.bash_profile
echo ". $LSF_TOP/conf/profile.lsf" >> /root/.bash_profile
fi
else
if ! grep -q -i "#Added by lsf_startup" /root/.profile ; then
echo "#Added by lsf_startup."
echo "#Added by lsf_startup." >> /root/.profile
echo ". $LSF_TOP/conf/profile.lsf" >> /root/.profile
fi