diff options
author | ramon <ramongomez@us.es> | 2010-06-17 11:26:36 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2010-06-17 11:26:36 +0000 |
commit | cb5997b093cfefb576594b8b9d30e9a5bae2c615 (patch) | |
tree | a54575161e28184dccdcaf503ff5afc688d7887e /client | |
parent | 4ee9b9f1b1941228e18c591deb824c3bf6843da7 (diff) |
Ejecutables de cliente para 32 y 64 bits; nueva función {{{ogGetArch}}}
git-svn-id: https://opengnsys.es/svn/trunk@1047 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client')
-rwxr-xr-x | client/engine/Inventory.lib | 15 | ||||
-rwxr-xr-x | client/nfsexport/bin/dosfsck | bin | 47140 -> 601276 bytes | |||
-rwxr-xr-x | client/nfsexport/bin/dosfslabel | bin | 0 -> 593084 bytes | |||
-rwxr-xr-x | client/nfsexport/bin/i386/EACInterfaces (renamed from client/nfsexport/bin/EACInterfaces) | bin | 9682 -> 9682 bytes | |||
-rwxr-xr-x | client/nfsexport/bin/i386/mkntfs (renamed from client/nfsexport/bin/mkntfs) | bin | 228336 -> 228336 bytes | |||
-rwxr-xr-x | client/nfsexport/bin/i386/partprobe (renamed from client/nfsexport/bin/partprobe) | bin | 17924 -> 17924 bytes | |||
-rwxr-xr-x | client/nfsexport/bin/i386/udp-receiver (renamed from client/nfsexport/bin/udp-receiver) | bin | 48000 -> 48000 bytes | |||
-rwxr-xr-x | client/nfsexport/bin/i386/udp-sender (renamed from client/nfsexport/bin/udp-sender) | bin | 56836 -> 56836 bytes | |||
-rwxr-xr-x | client/nfsexport/bin/mkdosfs | bin | 26904 -> 573148 bytes | |||
-rwxr-xr-x | client/nfsexport/bin/x86_64/mkntfs | bin | 0 -> 203496 bytes | |||
-rwxr-xr-x | client/nfsexport/bin/x86_64/ntfsresize | bin | 0 -> 178920 bytes | |||
-rwxr-xr-x | client/nfsexport/bin/x86_64/partprobe | bin | 0 -> 324856 bytes | |||
-rwxr-xr-x | client/nfsexport/bin/x86_64/udp-receiver | bin | 0 -> 52704 bytes | |||
-rwxr-xr-x | client/nfsexport/bin/x86_64/udp-sender | bin | 0 -> 61992 bytes | |||
-rwxr-xr-x | client/nfsexport/etc/preinit/loadenviron.sh | 6 |
15 files changed, 20 insertions, 1 deletions
diff --git a/client/engine/Inventory.lib b/client/engine/Inventory.lib index ed1ed511..7e731258 100755 --- a/client/engine/Inventory.lib +++ b/client/engine/Inventory.lib @@ -4,12 +4,25 @@ #@brief Librería o clase Inventory #@class Inventory #@brief Funciones para recogida de datos de inventario de hardware y software de los clientes. -#@version 0.9 +#@version 0.9.2 #@warning License: GNU GPLv3+ #*/ #/** +# ogGetArch +#@brief Devuelve el tipo de arquitectura del cliente. +#@return str_arch - Arquitectura (i386 para 32 bits, x86_64 para 64 bits). +#@version 0.9.2 - Primera versión para OpenGnSys. +#@author Ramon Gomez, ETSII Universidad de Sevilla +#@date 2010-07-17 +#*/ +function ogGetArch () { +[ -d /lib64 ] && echo x86_64 || echo i386 +} + + +#/** # ogGetOsVersion int_ndisk int_npartition #@brief Devuelve la versión del sistema operativo instalado en un sistema de archivos. #@param int_ndisk nº de orden del disco diff --git a/client/nfsexport/bin/dosfsck b/client/nfsexport/bin/dosfsck Binary files differindex 454b981b..b041e1bd 100755 --- a/client/nfsexport/bin/dosfsck +++ b/client/nfsexport/bin/dosfsck diff --git a/client/nfsexport/bin/dosfslabel b/client/nfsexport/bin/dosfslabel Binary files differnew file mode 100755 index 00000000..007894bb --- /dev/null +++ b/client/nfsexport/bin/dosfslabel diff --git a/client/nfsexport/bin/EACInterfaces b/client/nfsexport/bin/i386/EACInterfaces Binary files differindex b63b1db1..b63b1db1 100755 --- a/client/nfsexport/bin/EACInterfaces +++ b/client/nfsexport/bin/i386/EACInterfaces diff --git a/client/nfsexport/bin/mkntfs b/client/nfsexport/bin/i386/mkntfs Binary files differindex e3a32f2e..e3a32f2e 100755 --- a/client/nfsexport/bin/mkntfs +++ b/client/nfsexport/bin/i386/mkntfs diff --git a/client/nfsexport/bin/partprobe b/client/nfsexport/bin/i386/partprobe Binary files differindex acba5c6e..acba5c6e 100755 --- a/client/nfsexport/bin/partprobe +++ b/client/nfsexport/bin/i386/partprobe diff --git a/client/nfsexport/bin/udp-receiver b/client/nfsexport/bin/i386/udp-receiver Binary files differindex 6b230aaa..6b230aaa 100755 --- a/client/nfsexport/bin/udp-receiver +++ b/client/nfsexport/bin/i386/udp-receiver diff --git a/client/nfsexport/bin/udp-sender b/client/nfsexport/bin/i386/udp-sender Binary files differindex 87789a05..87789a05 100755 --- a/client/nfsexport/bin/udp-sender +++ b/client/nfsexport/bin/i386/udp-sender diff --git a/client/nfsexport/bin/mkdosfs b/client/nfsexport/bin/mkdosfs Binary files differindex 95ca7390..2fe2ce1f 100755 --- a/client/nfsexport/bin/mkdosfs +++ b/client/nfsexport/bin/mkdosfs diff --git a/client/nfsexport/bin/x86_64/mkntfs b/client/nfsexport/bin/x86_64/mkntfs Binary files differnew file mode 100755 index 00000000..0ede0c4f --- /dev/null +++ b/client/nfsexport/bin/x86_64/mkntfs diff --git a/client/nfsexport/bin/x86_64/ntfsresize b/client/nfsexport/bin/x86_64/ntfsresize Binary files differnew file mode 100755 index 00000000..9f571121 --- /dev/null +++ b/client/nfsexport/bin/x86_64/ntfsresize diff --git a/client/nfsexport/bin/x86_64/partprobe b/client/nfsexport/bin/x86_64/partprobe Binary files differnew file mode 100755 index 00000000..4721b33c --- /dev/null +++ b/client/nfsexport/bin/x86_64/partprobe diff --git a/client/nfsexport/bin/x86_64/udp-receiver b/client/nfsexport/bin/x86_64/udp-receiver Binary files differnew file mode 100755 index 00000000..11291de0 --- /dev/null +++ b/client/nfsexport/bin/x86_64/udp-receiver diff --git a/client/nfsexport/bin/x86_64/udp-sender b/client/nfsexport/bin/x86_64/udp-sender Binary files differnew file mode 100755 index 00000000..d63c67fd --- /dev/null +++ b/client/nfsexport/bin/x86_64/udp-sender diff --git a/client/nfsexport/etc/preinit/loadenviron.sh b/client/nfsexport/etc/preinit/loadenviron.sh index 6db790e0..b52db44d 100755 --- a/client/nfsexport/etc/preinit/loadenviron.sh +++ b/client/nfsexport/etc/preinit/loadenviron.sh @@ -50,6 +50,12 @@ if [ -d $OPENGNSYS ]; then source $i done fi + # Añadir dependencia de arquitectura + ARCH=$(ogGetArch) + if [ -n "$ARCH" ]; then + export PATH=$OGBIN/$ARCH:$PATH + export LD_LIBRARY_PATH=$OGLIB/$ARCH:$LD_LIBRARY_PATH + fi # Fichero de registros. export OGLOGFILE="$OGLOG/$(ogGetIpAddress).log" # FIXME Pruebas para grupos de ordenadores |