source: client/nfsexport/etc/preinit/fileslinks.sh @ 893e63fe

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 893e63fe was d345fa6, checked in by ramon <ramongomez@…>, 15 years ago

Script loadenviron.sh separado en 4 partes en preinit; fase inicial para modo off-line.

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

  • Property mode set to 100755
File size: 996 bytes
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    # FIXME Necesario temporalmente
23    mkdir -p /usr/local/Trolltech/QtEmbedded-4.5.1/lib/
24    ln -fs $OGLIB/fonts /usr/local/Trolltech/QtEmbedded-4.5.1/lib/fonts
25
26    # Datos de dispositivos PCI en /etc
27    ln -fs $OGLIB/pci.ids /etc
28
29    # Incluimos el modulo del raton
30    #insmod $OGLIB/modules/psmouse.ko
31else
32    # FIXME Error: entorno de OpenGNSys no configurado.
33    echo "Error: OpenGNSys environment is not configured."   # FIXME: definir mensaje.
34    exit 1
35fi
36
Note: See TracBrowser for help on using the repository browser.