source: client/nfsexport/etc/preinit/default.sh @ 9a2cda1e

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
Last change on this file since 9a2cda1e was 50038e9, checked in by ramon <ramongomez@…>, 16 years ago

Pequeñas correcciones en instalador.

git-svn-id: https://opengnsys.es/svn/trunk@460 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 447 bytes
Line 
1#!/opt/opengnsys/bin/bash
2
3# Para que no haya problemas con el interprete
4ln -fs /opt/opengnsys/bin/bash /bin/bash
5
6set -a
7
8source /opt/opengnsys/lib/engine/bin/loadenviron.sh
9
10if [ -f $OGETC/init/$OG_IP.sh ]; then
11    $OGETC/init/$OG_IP.sh
12
13elif [ -f $OGETC/init/$OGGROUP.sh ]; then
14    $OGETC/init/$OGGROUP.sh
15
16elif [ -f $OGETC/init/default.sh ]; then
17    $OGETC/init/default.sh
18
19else
20    echo "No se ha encontrado script de inicio"
21    halt
22fi
Note: See TracBrowser for help on using the repository browser.