source: client/shared/etc/preinit/metadevs.sh @ 8ba8712

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 8ba8712 was cff57e6, checked in by ramon <ramongomez@…>, 8 years ago

#730: Continuar sustitución del nombre de Proyecto a OpenGnsys.

git-svn-id: https://opengnsys.es/svn/branches/version1.1@5286 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 759 bytes
Line 
1#!/bin/bash
2#/**
3#@file    metadevs.sh
4#@brief   Script de inicio para detectar metadispositivos LVM y RAID.
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#@version 0.9.4
11#@author  Ramon Gomez, ETSII Universidad de Sevilla
12#@date    2010-04-19
13#*/
14
15
16# Si está configurado OpenGnsys ...
17if [ -n "$OPENGNSYS" ]; then
18    echo "$MSG_DETECTLVMRAID"
19    # Detectar metadispositivos LVM.
20    vgchange -ay &>/dev/null
21    # Detectar metadispositivos RAID.
22    dmraid -ay &>/dev/null
23else
24    # FIXME Error: entorno de OpenGnsys no configurado.
25    echo "Error: OpenGnsys environment is not configured."   # FIXME: definir mensaje.
26    exit 1
27fi
28
Note: See TracBrowser for help on using the repository browser.