webconsole3
Last change
on this file since f53877a was
1236d17,
checked in by jm.bardallo <juanmanuel.bardallo@…>, 7 years ago
|
añadidos nuevamente los ficheros de opengnsys del branch devel, se habían quitado por error
|
-
Property mode set to
100644
|
File size:
759 bytes
|
Rev | Line | |
---|
[1236d17] | 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.