source: client/shared/etc/preinit/default.sh @ cd95622

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 cd95622 was 610c8fb, checked in by adv <adv@…>, 14 years ago

version1.0 #368 corregido sha-bang para el inicio OG en los archivos compartidos preinit/default.sh

git-svn-id: https://opengnsys.es/svn/branches/version1.0@1859 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 477 bytes
RevLine 
[610c8fb]1#!/bin/bash
[383fe4b]2
[01a6031]3# Cargar entorno de OpenGnSys
[cf4a46b]4set -a
[d345fa6]5source /opt/opengnsys/etc/preinit/loadenviron.sh
[01a6031]6
7# Scripts de inicio.
8for f in fileslinks loadmodules mountrepo; do
9    $OGETC/preinit/$f.sh
[d345fa6]10done
[01a6031]11
[08b941f]12unset f
[383fe4b]13
14if [ -f $OGETC/init/$OG_IP.sh ]; then
15    $OGETC/init/$OG_IP.sh
16
17elif [ -f $OGETC/init/$OGGROUP.sh ]; then
18    $OGETC/init/$OGGROUP.sh
19
20elif [ -f $OGETC/init/default.sh ]; then
21    $OGETC/init/default.sh
22
23else
24    echo "No se ha encontrado script de inicio"
25    halt
26fi
Note: See TracBrowser for help on using the repository browser.