Skip to content

Commit

Permalink
Fix Validate. Remove DMESG, LSPCI, CPUINFO, LSUSB
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Jun 11, 2014
1 parent 739cb0b commit f3c5045
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/i-nex/.src/Reports/VALIDATE.module
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ Public LSUSB As String
Public CPUINFO As String

Public Sub _inits()
CPUINFO = File.Load("/proc/cpuinfo")
Exec [ChkPrm.ChkExecDir("dmesg")] Wait To DMESG
Exec [ChkPrm.ChkExecDir("lspci")] Wait To LSPCI
Exec [ChkPrm.ChkExecDir("lsusb")] Wait To LSUSB

VALIDATE_VARIABLES.Add("UNKNOWN", "SUBMITED_BY")
'Begin CPU Tab
VALIDATE_VARIABLES.Add(Finfosys.PictureBox3.Name, "CPU_LOGO")
Expand Down Expand Up @@ -132,11 +129,6 @@ VALIDATE_VARIABLES.Add(Finfosys.DATAT, "CPUID")
VALIDATE_VARIABLES.Add(Finfosys.UNAME, "UNAME")
VALIDATE_VARIABLES.Add(Finfosys.USAGE, "USAGE")

VALIDATE_VARIABLES.Add(DMESG, "DMESG")
VALIDATE_VARIABLES.Add(LSPCI, "LSPCI")
VALIDATE_VARIABLES.Add(LSUSB, "LSUSB")
VALIDATE_VARIABLES.Add(CPUINFO, "CPUINFO")

ScreenShotM.pic = Desktop.Screenshot(Finfosys.X, Finfosys.Y, Finfosys.W + 12, Finfosys.H + 30)
ScreenShotM.pic.Save("~/.i-nex/datata.png", 9)
Wait 1.0
Expand Down

0 comments on commit f3c5045

Please sign in to comment.