Skip to content

Commit

Permalink
Fix Check Bios Microcode Update Recommended
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Feb 14, 2012
1 parent 39598a4 commit b646bb8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

Public Sub _inits()
Dim update_reccomended As String
Dim update_driver As String
If Exist("/var/log/dmesg") Then
Shell "grep 'BIOS microcode update recommended' /var/log/dmesg" Wait To update_reccomended
Shell "grep 'Microcode Update Driver:' /var/log/dmesg" Wait To update_driver
Endif
If update_reccomended Like "*BIOS microcode update recommended*" Then
If update_reccomended Like "*BIOS microcode update recommended*" And update_driver Not Like "*Microcode Update Driver*" Then
Finfosys.Label92.Text = "BIOS microcode update recommended !!!"
Else
Finfosys.Label92.Visible = False
Expand Down

0 comments on commit b646bb8

Please sign in to comment.