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:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user