From 644560d1d4f24cc16f4c6f5718a5ab61492d2360 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Tue, 9 Oct 2012 06:52:12 +0000 Subject: [PATCH] stop tftpd-hpa on ubuntu git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13964 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/AAsn.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/AAsn.pm b/xCAT-server/lib/xcat/plugins/AAsn.pm index 3224189f7..b5f82c779 100644 --- a/xCAT-server/lib/xcat/plugins/AAsn.pm +++ b/xCAT-server/lib/xcat/plugins/AAsn.pm @@ -1503,6 +1503,9 @@ sub enable_TFTPhpa if (-x "/usr/sbin/in.tftpd") { system("killall in.tftpd"); #xinetd can leave behind blocking tftp servers even if it won't start new ones + if ($distro !~ /ubuntu.*/i){ + system("stop tftpd-hpa"); + } my @tftpprocs=`ps axf|grep -v grep|grep in.tftpd`; while (@tftpprocs) { sleep 0.1;