summaryrefslogtreecommitdiffstats
path: root/client/engine/Inventory.lib
diff options
context:
space:
mode:
Diffstat (limited to 'client/engine/Inventory.lib')
-rwxr-xr-xclient/engine/Inventory.lib10
1 files changed, 10 insertions, 0 deletions
diff --git a/client/engine/Inventory.lib b/client/engine/Inventory.lib
index 3450b3e5..c2861411 100755
--- a/client/engine/Inventory.lib
+++ b/client/engine/Inventory.lib
@@ -273,6 +273,16 @@ dmidecode -s system-serial-number | egrep -vi "(^[ 0]+$|not specified|filled by
#/**
+# ogIsEfiActive
+#@brief Comprueba si el sistema tiene activo el arranque EFI.
+#*/ ##
+function ogIsEfiActive ()
+{
+test -d /sys/firmware/efi
+}
+
+
+#/**
# ogListHardwareInfo
#@brief Lista el inventario de hardware de la máquina cliente.
#@return TipoDispositivo:Modelo (por determinar)