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:
parent
f852193495
commit
95a8db39f2
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user