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 | |
---|
[383fe4b] | 1 | #!/opt/opengnsys/bin/bash |
---|
| 2 | |
---|
[3a4580d] | 3 | # Para que no haya problemas con el interprete |
---|
[fee895e] | 4 | ln -fs /opt/opengnsys/bin/bash /bin/bash |
---|
[3a4580d] | 5 | |
---|
[cf4a46b] | 6 | set -a |
---|
| 7 | |
---|
[50038e9] | 8 | source /opt/opengnsys/lib/engine/bin/loadenviron.sh |
---|
[383fe4b] | 9 | |
---|
| 10 | if [ -f $OGETC/init/$OG_IP.sh ]; then |
---|
| 11 | $OGETC/init/$OG_IP.sh |
---|
| 12 | |
---|
| 13 | elif [ -f $OGETC/init/$OGGROUP.sh ]; then |
---|
| 14 | $OGETC/init/$OGGROUP.sh |
---|
| 15 | |
---|
| 16 | elif [ -f $OGETC/init/default.sh ]; then |
---|
| 17 | $OGETC/init/default.sh |
---|
| 18 | |
---|
| 19 | else |
---|
| 20 | echo "No se ha encontrado script de inicio" |
---|
| 21 | halt |
---|
| 22 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.