From 5ca27b6dc04c3bee3c8f104d17b01a31bcd57472 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 9 May 2008 19:17:18 +0000 Subject: [PATCH] -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 --- xCAT-server-2.0/lib/xcat/plugins/NFSsn.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server-2.0/lib/xcat/plugins/NFSsn.pm b/xCAT-server-2.0/lib/xcat/plugins/NFSsn.pm index 54b9288bd..9efdb69e4 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/NFSsn.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/NFSsn.pm @@ -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