summaryrefslogtreecommitdiffstats
path: root/src/linux/ogOperations.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/ogOperations.py')
-rw-r--r--src/linux/ogOperations.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/linux/ogOperations.py b/src/linux/ogOperations.py
index c11ee30..85c8c0a 100644
--- a/src/linux/ogOperations.py
+++ b/src/linux/ogOperations.py
@@ -31,3 +31,7 @@ def procsession(disk, partition):
def procsoftware(disk, partition, path):
result = subprocess.check_output([OG_PATH + 'interfaceAdm/InventarioSoftware', disk, partition, path], shell=True)
return result.decode('utf-8')
+
+def prochardware(path):
+ result = subprocess.check_output([OG_PATH + 'interfaceAdm/InventarioHardware', path], shell=True)
+ return result.decode('utf-8')