mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	-Move ftp start to be unconditional as well
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1342 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -38,6 +38,8 @@ sub handled_commands
 | 
			
		||||
    mkpath "/var/ftp/tftpboot";
 | 
			
		||||
    system "mount -o bind $installdir /var/ftp/install";
 | 
			
		||||
    system "mount -o bind /tftpboot /var/ftp/tftpboot";
 | 
			
		||||
    # make sure vsftpd is started
 | 
			
		||||
    my $cmd = "service vsftpd start";
 | 
			
		||||
    if (xCAT::Utils->isServiceNode())
 | 
			
		||||
    {
 | 
			
		||||
        my @nodeinfo   = xCAT::Utils->determinehostname;
 | 
			
		||||
@@ -107,8 +109,6 @@ sub setup_NFS
 | 
			
		||||
    my $os;
 | 
			
		||||
    my $arch;
 | 
			
		||||
 | 
			
		||||
    # make sure vsftpd is started
 | 
			
		||||
    my $cmd = "service vsftpd start";
 | 
			
		||||
    xCAT::Utils->runcmd($cmd, 0);
 | 
			
		||||
    if ($::RUNCMD_RC != 0)
 | 
			
		||||
    {    # error
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user