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
Line | |
---|
1 | #!/bin/bash |
---|
2 | #/** |
---|
3 | #@file metadevs.sh |
---|
4 | #@brief Script de inicio para detectar metadispositivos LVM y RAID. |
---|
5 | #@todo Pendiente detección de RAID. |
---|
6 | #@note Desglose del script "loadenviron.sh". |
---|
7 | #@warning License: GNU GPLv3+ |
---|
8 | #@version 0.9 |
---|
9 | #@author Ramon Gomez, ETSII Universidad de Sevilla |
---|
10 | #@date 2009-10-10 |
---|
11 | #*/ |
---|
12 | |
---|
13 | |
---|
14 | # Si está configurado OpenGNSys ... |
---|
15 | if [ -n "$OPENGNSYS" ]; then |
---|
16 | echo "$MSG_DETECTLVMRAID" |
---|
17 | # Detectar metadispositivos LVM. |
---|
18 | vgchange -ay >/dev/null 2>&1 |
---|
19 | # FIXME Detectar metadispositivos RAID. |
---|
20 | else |
---|
21 | # FIXME Error: entorno de OpenGNSys no configurado. |
---|
22 | echo "Error: OpenGNSys environment is not configured." # FIXME: definir mensaje. |
---|
23 | exit 1 |
---|
24 | fi |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.