summaryrefslogtreecommitdiffstats
path: root/admin/Interface/InventarioHardware
diff options
context:
space:
mode:
Diffstat (limited to 'admin/Interface/InventarioHardware')
-rwxr-xr-xadmin/Interface/InventarioHardware5
1 files changed, 3 insertions, 2 deletions
diff --git a/admin/Interface/InventarioHardware b/admin/Interface/InventarioHardware
index 7e889737..17614a5d 100755
--- a/admin/Interface/InventarioHardware
+++ b/admin/Interface/InventarioHardware
@@ -1,5 +1,6 @@
#!/bin/bash
-# Script de interfaz para devolver el inventario de hardware de un cliente.
+# Script de interfaz para guardar en un fichero el inventario de hardware de un cliente.
-listHardwareInfo | tail -n+2
+file=$(listHardwareInfo)
+tail -n+2 $file >$1