diff options
author | ramon <ramongomez@us.es> | 2011-03-21 13:50:21 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2011-03-21 13:50:21 +0000 |
commit | a895e474cabeb8000d91cc8ed741002caae2770c (patch) | |
tree | 80c31f05884810d571c82c3305a101a2661ec065 /client/shared/etc/preinit/fileslinks.sh | |
parent | b52e65889fb02f593f7198317073ba93b6c74909 (diff) |
Rama version1.0:
* Adaptado script "runtest" para el cliente versión 1.0. * Modificado arranque del cliente 1.0 para usar BASH como shell por defecto.
Modificado #345.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@1591 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/etc/preinit/fileslinks.sh')
-rwxr-xr-x | client/shared/etc/preinit/fileslinks.sh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/client/shared/etc/preinit/fileslinks.sh b/client/shared/etc/preinit/fileslinks.sh new file mode 100755 index 00000000..feebe893 --- /dev/null +++ b/client/shared/etc/preinit/fileslinks.sh @@ -0,0 +1,39 @@ +#!/bin/bash +#/** +#@file fileslinks.sh +#@brief Script de inicio para copiar ficheros y deinir enlaces simbólicos. +#@warning License: GNU GPLv3+ +#@version 0.9 +#@author Ramon Gomez, ETSII Universidad de Sevilla +#@date 2009-10-10 +#@version 1.0 +#@author Ramon Gomez, ETSII Universidad de Sevilla +#@date 2011-03-21 +#*/ + + +# Si está configurado OpenGnSys ... +if [ -n "$OPENGNSYS" ]; then + echo "$MSG_MAKELINKS" + + # Shell BASH por defecto (para usar "runtest") + ln -fs /bin/bash /bin/sh + + # Crear directorio de bloqueos + mkdir -p /var/lock + + # Directorio de tipos de letras para el browser. + #QTLIBS=$(grep qt_libspath $OGBIN/browser 2>/dev/null | cut -f2 -d=) + #QTVERS="/usr/local/QtEmbedded-4.6.3" + #QTDIR="${QTVERS%-*}" + #mkdir -p $QTDIR + #ln -fs $QTDIR $QTVERS + #mkdir -p $QTDIR/lib + #ln -fs $OGLIB/fonts $QTDIR/lib + +else + # FIXME Error: entorno de OpenGNSys no configurado. + echo "Error: OpenGnSys environment is not configured." # FIXME: definir mensaje. + exit 1 +fi + |