source: client/shared/etc/preinit/defaultTESTING.sh @ 2af9738

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 2af9738 was a895e47, checked in by ramon <ramongomez@…>, 14 years ago

Rama version1.0:

  • Adaptado script "runtest" para el cliente versión 1.0. * Modificado arranque del cliente 1.0 para usar BASH como shell por defecto.

Modificado #345.

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

  • Property mode set to 100755
File size: 494 bytes
RevLine 
[bc55985]1#!/bin/bash
2
[d343849]3# Cargar entorno de OpenGnSys
[bc55985]4set -a
[914d834]5source /opt/opengnsys/etc/preinit/loadenviron.sh
6
[d343849]7# Scripts de inicio.
[a895e47]8for f in fileslinks loadmodules mountrepo; do
[d343849]9    $OGETC/preinit/$f.sh
[bc55985]10done
[d343849]11unset f
[bc55985]12
[d343849]13# Cargar cliente.
[bc55985]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
[914d834]20elif [ -f $OGETC/init/default.sh ]; then
21    $OGETC/init/default.sh
[bc55985]22
23else
24    echo "No se ha encontrado script de inicio"
25    halt
26fi
Note: See TracBrowser for help on using the repository browser.