From 758b1c9b96311c22b2fa2de5d3c2faae4a183b6d Mon Sep 17 00:00:00 2001 From: hu-weihua Date: Wed, 17 Aug 2016 01:36:02 -0400 Subject: [PATCH] Remove the Debian Support Message in the xcatprobe command. --- xCAT-probe/subcmds/detect_dhcpd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-probe/subcmds/detect_dhcpd b/xCAT-probe/subcmds/detect_dhcpd index b8430761e..c95f784c8 100755 --- a/xCAT-probe/subcmds/detect_dhcpd +++ b/xCAT-probe/subcmds/detect_dhcpd @@ -59,7 +59,7 @@ if ($::HELP) { } if ($::TEST) { - probe_utils->send_msg("$output", "o", "$program_name can be used to detect the dhcp server in a network for a specific mac address. Before using this command, install 'tcpdump' command. The operating system supported are RedHat, SLES, Ubuntu and Debian."); + probe_utils->send_msg("$output", "o", "$program_name can be used to detect the dhcp server in a network for a specific mac address. Before using this command, install 'tcpdump' command. The operating system supported are RedHat, SLES and Ubuntu."); exit 0; } @@ -104,11 +104,11 @@ if (-f "/etc/redhat-release") { $os = "sles"; } elsif (-f "/etc/lsb-release") { $os = "ubuntu"; -} elsif (-f "/etc/debian_version") { - $os = "debian"; +#} elsif (-f "/etc/debian_version") { +# $os = "debian"; } else { probe_utils->send_msg("$output", "f", $msg); - probe_utils->send_msg("$output", "d", "Only support the RedHat, SLES, Ubuntu and Debian OS"); + probe_utils->send_msg("$output", "d", "Only support the RedHat, SLES and Ubuntu."); exit 1; } probe_utils->send_msg("$output", "d", "Current operating system is $os") if ($::VERBOSE);