source: client/shared/etc/preinit/default.sh @ 5b825b50

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 5b825b50 was de78678, checked in by irina <irinagomez@…>, 8 years ago

#730 etc/preinit/default.sh Se modifica la variable para crear arranque personalizado según ip del cliente

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

  • Property mode set to 100755
File size: 511 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.
[0f0a0e4]8for f in fileslinks loadmodules metadevs mountrepo poweroff otherservices; do
[01a6031]9    $OGETC/preinit/$f.sh
[d345fa6]10done
[08b941f]11unset f
[383fe4b]12
[de78678]13if [ -f $OGETC/init/$IPV4ADDR.sh ]; then
[383fe4b]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.