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:
@@ -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
|
||||
|
Reference in New Issue
Block a user