Fix name of ipmi check

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:28 -04:00
parent 9f7dbfb4f8
commit 44cedf66c9
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ if ! which ipmitool >/dev/null 2>&1 || ! which fping >/dev/null 2>&1 ; then
exit exit
fi fi
echo "<<<ipmi>>>" echo "<<<ipmi-reachability>>>"
# Grab IPMI IP from interfaces file # Grab IPMI IP from interfaces file
IPMIIP_INTERFACES=$(grep 'ipmitool' /etc/network/interfaces.d/ipmi | grep -v 'defgw' | grep 'ipaddr' | awk '{ print $NF }') IPMIIP_INTERFACES=$(grep 'ipmitool' /etc/network/interfaces.d/ipmi | grep -v 'defgw' | grep 'ipaddr' | awk '{ print $NF }')