mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	pick up ligc fix for bug 4347: lsvpd does not output the word 'cpu' on Ubuntu LE
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user