24 lines
433 B
Python
24 lines
433 B
Python
#!/usr/bin/python3
|
|
|
|
import os
|
|
import stat
|
|
|
|
#def ogGetArch():
|
|
#def ogGetOsType():
|
|
#def ogGetOsUuid():
|
|
#def ogGetSerialNumber():
|
|
|
|
#/**
|
|
# ogIsEfiActive
|
|
#@brief Comprueba si el sistema tiene activo el arranque EFI.
|
|
#*/ ##
|
|
def ogIsEfiActive():
|
|
try:
|
|
return stat.S_ISDIR (os.stat ('/sys/firmware/efi').st_mode)
|
|
except:
|
|
return False
|
|
|
|
#def ogListHardwareInfo():
|
|
#def ogListSoftware():
|
|
#def ogGetOsVersion():
|