mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	polish lsf_startup
This commit is contained in:
		| @@ -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 | ||||
|              | ||||
|   | ||||
		Reference in New Issue
	
	Block a user