Don't try to sabotage tftp unless sure new tftp can work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
a056b3545c
commit
e7a7110d90
@ -1359,7 +1359,7 @@ sub setup_HTTP
|
||||
sub enable_TFTPhpa
|
||||
{
|
||||
# Check whether the tftp-hpa has been installed
|
||||
if (! -e "/etc/xinetd.d/tftp") {
|
||||
unless (-x "/usr/sbin/in.tftpd" and -e "/etc/xinetd.d/tftp") {
|
||||
xCAT::MsgUtils->message("S", "ERROR: The tftpd was not installed, enable the tftp failed.");
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user