summaryrefslogtreecommitdiffstats
path: root/admin/Interface
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2014-03-14 10:54:51 +0000
committerramon <ramongomez@us.es>2014-03-14 10:54:51 +0000
commit5633342e4d74884ac39dfb30b124bd2b21e79f60 (patch)
tree9bbf44ade02c21bcf12e14909050da9e90966944 /admin/Interface
parent64cf3d33de3b9f7b1cb8092a2f9fc8d20acd39bb (diff)
#537: Corregir errata al obtener el inventario de hardware.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4185 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Interface')
-rwxr-xr-xadmin/Interface/InventarioHardware5
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/Interface/InventarioHardware b/admin/Interface/InventarioHardware
index 38d63213..17614a5d 100755
--- a/admin/Interface/InventarioHardware
+++ b/admin/Interface/InventarioHardware
@@ -1,3 +1,6 @@
#!/bin/bash
+# Script de interfaz para guardar en un fichero el inventario de hardware de un cliente.
+
file=$(listHardwareInfo)
-cp $file $1
+tail -n+2 $file >$1
+