fix for bug 3460128: run vpdupdate only when necessary
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
650ea98014
commit
aa40e86d49
@ -22,7 +22,12 @@ update_VPD()
|
||||
logger -t xCAT "xcatdsklspost: updating VPD database"
|
||||
fi
|
||||
}
|
||||
update_VPD
|
||||
|
||||
# Run updatevpd only when necessary
|
||||
lsvpd | grep -i cpu 2>&1 1>/dev/null
|
||||
if [ "$?" = "1" ]; then
|
||||
update_VPD
|
||||
fi
|
||||
|
||||
download_postscripts()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user