source: client/nfsexport/etc/preinit/loadudeb.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 4fa252b, checked in by alonso <alonso@…>, 15 years ago

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

  • Property mode set to 100755
File size: 869 bytes
Line 
1#!/bin/bash
2#/**
3#@file    loadudeb.sh
4#@brief   Script de inicio para cargar paquetes udeb en el cliente.
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    # Cargar paquetes udeb.
16    echo "$MSG_LOADUDEBS"
17    for i in $OGLIB/udeb/*.udeb; do
18        udpkg -i "$i" >/dev/null || printf "$MSG_ERRLOADUDEB\n" $(basename $i)
19    done
20    # TEMPORAL: corregir biblioteca dinámica para "partprobe".
21    ln -s $(find /lib -type f -name "libparted*.so.*") /lib/$(grep libparted $OGBIN/$(ogGetArch)/partprobe) 2>/dev/null
22else
23    # FIXME Error: entorno de OpenGnSys no configurado.
24    echo "Error: OpenGnSys environment is not configured."   # FIXME: definir mensaje.
25    exit 1
26fi
27
Note: See TracBrowser for help on using the repository browser.