source: client/nfsexport/etc/preinit/fileslinks.sh @ bfeb89a

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since bfeb89a was e8338ac, checked in by adelcastillo <adelcastillo@…>, 15 years ago

Ahora el browser tiene la opción commandwithconfirmation:
La salida de los script ahora sí se muestra.
Cambio de Qt 4.6.2 a Qt 4.6.3

git-svn-id: https://opengnsys.es/svn/trunk@1242 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 1.0 KB
Line 
1#!/bin/bash
2#/**
3#@file    fileslinks.sh
4#@brief   Script de inicio para copiar ficheros y deinir enlaces simbólicos.
5#@note    Desglose del script "loadenviron.sh".
6#@warning License: GNU GPLv3+
7#@version 0.9
8#@author  Ramon Gomez, ETSII Universidad de Sevilla
9#@date    2009-10-10
10#*/
11
12
13# Si está configurado OpenGNSys ...
14if [ -n "$OPENGNSYS" ]; then
15    echo "$MSG_MAKELINKS"
16    # Para tener /bin/bash y no haya problemas
17    ln -fs $OGBIN/bash /bin/bash
18
19    # Crear directorio de bloqueos
20    mkdir -p /var/lock
21
22    # Directorio de tipos de letras para el browser.
23    #QTLIBS=$(grep qt_libspath $OGBIN/browser 2>/dev/null | cut -f2 -d=)
24    QTVERS="/usr/local/QtEmbedded-4.6.3"
25    QTDIR="${QTVERS%-*}"
26    mkdir -p $QTDIR
27    ln -fs $QTDIR $QTVERS
28    mkdir -p $QTDIR/lib
29    ln -fs $OGLIB/fonts $QTDIR/lib
30
31    # Datos de dispositivos PCI en /etc
32    ln -fs $OGLIB/pci.ids /etc
33else
34    # FIXME Error: entorno de OpenGNSys no configurado.
35    echo "Error: OpenGnSys environment is not configured."   # FIXME: definir mensaje.
36    exit 1
37fi
38
Note: See TracBrowser for help on using the repository browser.