if site.vsftp is not set, default to no

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2012-02-13 02:20:25 +00:00
parent 96292f8670
commit c1073c7699

View File

@ -273,7 +273,7 @@ sub init_plugin
print "\n"
; # make OK prints look better. Only need to do this for the 1st service.
my @tmp = xCAT::Utils->get_site_attribute("vsftp");
if ((!$tmp[0]) || ($tmp[0] !~ /0|NO|No|no|N|n/ )) {
if ($tmp[0] && ($tmp[0] !~ /0|NO|No|no|N|n/ )) {
$rc = &setup_FTP(); # setup FTP
}
#enable the tftp-hpa for MN