Check more directly for location of arp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
cae54539ab
commit
e6f7ece3d2
@ -1121,7 +1121,7 @@ sub get_mac_by_arp ()
|
||||
if ( xCAT::Utils->isAIX() ) {
|
||||
$output = `/usr/sbin/arp -a`;
|
||||
} else {
|
||||
if ( -e "/etc/debian_version" ) {
|
||||
if ( -x "/usr/sbin/arp" ) {
|
||||
$output = `/usr/sbin/arp -n`;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user