source: client/shared/etc/preinit/default.sh @ 802fcc6

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 802fcc6 was 3c66d00, checked in by ramon <ramongomez@…>, 14 years ago

Versión 1.0.2: Cambiar arranque del cliente para cargar cron e incluir en la crontab el script de comprobación de inactividad (modifica #451).

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

  • Property mode set to 100755
File size: 486 bytes
Line 
1#!/bin/bash
2
3# Cargar entorno de OpenGnSys
4set -a
5source /opt/opengnsys/etc/preinit/loadenviron.sh
6
7# Scripts de inicio.
8for f in fileslinks loadmodules mountrepo poweroff; do
9    $OGETC/preinit/$f.sh
10done
11
12unset f
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.