source: client/nfsexport/etc/preinit/default.sh @ 893e63fe

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 893e63fe was fc7848a, checked in by adv <adv@…>, 16 years ago

adaptación oginit para interpretar parametro repo, en su ausencia utiliza el dhcp. Se incluye en oginit la rutina de mount.sh. Por ese motivo se elimina su llamada desde el preinit/default.sh.
Lo que no he hecho es eliminar el mount.sh (aunque no se utiliza, se puede dejar para una posible reutilización)

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

  • Property mode set to 100755
File size: 522 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/etc/preinit/loadenviron.sh
9for f in fileslinks.sh loadudeb.sh metadevs.sh; do
10    $OGETC/preinit/$f
11done
12
13if [ -f $OGETC/init/$OG_IP.sh ]; then
14    $OGETC/init/$OG_IP.sh
15
16elif [ -f $OGETC/init/$OGGROUP.sh ]; then
17    $OGETC/init/$OGGROUP.sh
18
19elif [ -f $OGETC/init/default.sh ]; then
20    $OGETC/init/default.sh
21
22else
23    echo "No se ha encontrado script de inicio"
24    halt
25fi
Note: See TracBrowser for help on using the repository browser.