if they install the Service Node. This could be only temp until we have the Install OS image for Service Nodes working. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@520 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
		
			
				
	
	
		
			32 lines
		
	
	
		
			611 B
		
	
	
	
		
			Perl
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			611 B
		
	
	
	
		
			Perl
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/perl
 | 
						|
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
 | 
						|
#egan@us.ibm.com
 | 
						|
#(C)IBM Corp
 | 
						|
 | 
						|
#
 | 
						|
 | 
						|
 | 
						|
#-----------------------------------------------------------------------------
 | 
						|
 | 
						|
=head1   servicenode 
 | 
						|
 | 
						|
 This updates the service node with files necessary to access the 
 | 
						|
 database on the MasterNode and restarts the xcat daemon
 | 
						|
 | 
						|
=cut
 | 
						|
 | 
						|
#-----------------------------------------------------------------------------
 | 
						|
 | 
						|
# if this is a service node
 | 
						|
#
 | 
						|
#  Copy Certificates, and config file to apprpriate directories from mounted
 | 
						|
#
 | 
						|
if (-e "/etc/xCATSN")
 | 
						|
{
 | 
						|
    `/opt/xcat/sbin/copycerts`;
 | 
						|
}
 | 
						|
 | 
						|
exit 0;
 | 
						|
 | 
						|
 |