diff options
author | ramon <ramongomez@us.es> | 2015-02-05 10:32:13 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2015-02-05 10:32:13 +0000 |
commit | 1cbdcb0daf1646a1bca6bfd43047daddc07f0d3a (patch) | |
tree | 5fe34d535344fcc1a5e69fee482fdddcf41acfbe /client/shared/etc/init | |
parent | 440250d1c199f57d4f895a41836a1e591478d212 (diff) |
Abierta rama principal de desarrollo para OpenGnSys 1.1.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4501 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/etc/init')
-rwxr-xr-x | client/shared/etc/init/defaultTESTING.sh | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/client/shared/etc/init/defaultTESTING.sh b/client/shared/etc/init/defaultTESTING.sh deleted file mode 100755 index 7a258588..00000000 --- a/client/shared/etc/init/defaultTESTING.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash - -/etc/init.d/ssh restart -#setterm -blank 0 -powersave off -powerdown 0 < /dev/console > /dev/console 2>&1 - -ethtool -s eth0 wol g - - -# Fichero de registro de incidencias (en el servidor; si no, en local). -OPENGNSYS=${OPENGNSYS:-/opt/opengnsys} -OGLOGFILE=${OGLOGFILE:-$OPENGNSYS/log/${ogGetIpAdderss},log} -if ! touch $OGLOGFILE 2>/dev/null; then - OGLOGFILE=/var/log/opengnsys.log -fi - -echo -ne "og\nog\n" | passwd root - -#TODO => activacion de modo escritura en REPO - -if [ $ogactiveadmin == "true" ] -then - export boot=admin - umount /opt/opengnsys/images - - if [ "$ogprotocol" == "nfs" ] - then - mount.nfs ${ROOTSERVER}:/opt/opengnsys/images /opt/opengnsys/images -o nolock - fi - - if [ "$ogprotocol" == "smb" ] - then - echo "montando smb" - mount.cifs //${ROOTSERVER}/ogimages /opt/opengnsys/images -o user=opengnsys,pass=og - echo mount.cifs //${ROOTSERVER}/ogimages /opt/opengnsys/images -o user=opengnsys,pass=og - - fi -fi -# Arranque de OpenGnSys Client. -if [ -x "$OPENGNSYS/bin/ogAdmClient" ]; then - - - echo "$MSG_LAUNCHCLIENT modo cliente full" - $OPENGNSYS/bin/ogAdmClient -f $OPENGNSYS/etc/ogAdmClient.cfg -l $OGLOGFILE -d 5 -fi - -# Si fallo en cliente y modo "admin", cargar shell; si no, salir. -#if [ "$boot" == "admin" ]; then - bash -#fi |