webconsole3
Last change
on this file since 2fae617b 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:
511 bytes
|
Rev | Line | |
---|
[1236d17] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | # Cargar entorno de OpenGnsys |
---|
| 4 | set -a |
---|
| 5 | source /opt/opengnsys/etc/preinit/loadenviron.sh |
---|
| 6 | |
---|
| 7 | # Scripts de inicio. |
---|
| 8 | for f in fileslinks loadmodules metadevs mountrepo poweroff otherservices; do |
---|
| 9 | $OGETC/preinit/$f.sh |
---|
| 10 | done |
---|
| 11 | unset f |
---|
| 12 | |
---|
| 13 | if [ -f $OGETC/init/$IPV4ADDR.sh ]; then |
---|
| 14 | $OGETC/init/$OG_IP.sh |
---|
| 15 | |
---|
| 16 | elif [ -f $OGETC/init/$OGGROUP.sh ]; then |
---|
| 17 | $OGETC/init/$OGGROUP.sh |
---|
| 18 | |
---|
| 19 | elif [ -f $OGETC/init/default.sh ]; then |
---|
| 20 | $OGETC/init/default.sh |
---|
| 21 | |
---|
| 22 | else |
---|
| 23 | echo "No se ha encontrado script de inicio" |
---|
| 24 | halt |
---|
| 25 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.