2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 02:30:21 +00:00

fix indentation (tabs instead of spaces)

This commit is contained in:
Kilian Cavalotti
2017-03-03 09:30:28 -08:00
parent c0c6082b13
commit ed27765bf1

View File

@@ -73,10 +73,10 @@ if [ -r /sys/devices/virtual/dmi/id/product_name ]; then #x86
else
MTM=`cat /sys/devices/virtual/dmi/id/product_name|awk -F'[' '{print $2}'|awk -F']' '{print $1}'`
if [ -z "$MTM" ]; then
FRU=`ipmitool fru print 0`
if [ $? -eq 0 ]; then
MTM=`echo "$FRU" | awk -F': ' '/Product Manufacturer/ {m=$2} /Product Name/ {n=$2} END {print m":"n}'`
fi
FRU=`ipmitool fru print 0`
if [ $? -eq 0 ]; then
MTM=`echo "$FRU" | awk -F': ' '/Product Manufacturer/ {m=$2} /Product Name/ {n=$2} END {print m":"n}'`
fi
fi
SERIAL=`cat /sys/devices/virtual/dmi/id/product_serial`
fi