diff options
Diffstat (limited to 'admin/Interface/InventarioHardware')
-rwxr-xr-x | admin/Interface/InventarioHardware | 5 |
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 |