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
Rev | Line | |
---|
[0f0a0e4] | 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 ... |
---|
| 17 | if [ -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 |
---|
| 23 | else |
---|
| 24 | # FIXME Error: entorno de OpenGNSys no configurado. |
---|
| 25 | echo "Error: OpenGNSys environment is not configured." # FIXME: definir mensaje. |
---|
| 26 | exit 1 |
---|
| 27 | fi |
---|
| 28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.