pick up ligc fix for bug 4347: lsvpd does not output the word 'cpu' on Ubuntu LE

This commit is contained in:
baiyuan 2014-11-03 03:34:33 -05:00
parent 943b31d0ff
commit c8426f9f43

View File

@ -29,7 +29,7 @@ update_VPD()
# Run updatevpd only when necessary
if [ -f /usr/sbin/lsvpd ]; then
/usr/sbin/lsvpd | grep -i cpu 2>&1 1>/dev/null
/usr/sbin/lsvpd | grep -i -E 'cpu|processor' 2>&1 1>/dev/null
if [ "$?" = "1" ]; then
update_VPD
fi