diff options
author | adv <adv@uma.es> | 2011-08-01 20:27:24 +0000 |
---|---|---|
committer | adv <adv@uma.es> | 2011-08-01 20:27:24 +0000 |
commit | e2131bc2a0254efa5b18dcca9e789bc37606e2e1 (patch) | |
tree | b238b4a2d4a3b54ddc75e3ab898b8978c3451df7 /client/shared/etc/init/default.sh | |
parent | 230167021ddb738b226c64c370e6deb29c724d40 (diff) |
version 1.0.2 #421 revertido cambios en la version 1.0.2, la funcionalidad está en version1.0-tickets
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2240 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/etc/init/default.sh')
-rwxr-xr-x | client/shared/etc/init/default.sh | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/client/shared/etc/init/default.sh b/client/shared/etc/init/default.sh index 713df252..1706d8d0 100755 --- a/client/shared/etc/init/default.sh +++ b/client/shared/etc/init/default.sh @@ -2,33 +2,20 @@ # TODO Separar esta sección en otro script -#httd-log-status -cp /opt/opengnsys/lib/httpd/lighttpd.conf /etc/lighttpd/ -cp /opt/opengnsys/lib/httpd/10-cgi.conf /etc/lighttpd/conf-enabled/ -/etc/init.d/lighttpd start -chmod 755 /opt -cp /opt/opengnsys/lib/httpd/* /usr/lib/cgi-bin -#TODO: -dstat -dn 10 > /tmp/bandwidth & -export OGLOGTRACK=/tmp/track.log -export OGLOGSTANDAR=/tmp/standar.log -touch $OGLOGTRACK -touch $OGLOGSTANDAR -touch ${OGLOGTRACK}.tmp -chmod 777 $OGLOGTRACK -chmod 777 $OGLOGSTANDAR -chmod 777 ${OGLOGTRACK}.tmp -echo "preparado" >> $OGLOGSTANDAR -# http-log-status # Lanzar servicios complementarios del cliente. PASS=$(grep "^[ ]*OPTIONS=" /scripts/ogfunctions 2>&1 | \ sed 's/\(.*\)pass=\(\w*\)\(.*\)/\2/') PASS=${PASS:-"og"} echo -ne "$PASS\n$PASS\n" | passwd root 2>/dev/null -#Compatibilidad ssh con el boot-tools 1.0.2 + +#inicio del servidor sshd /usr/sbin/sshd + +#desactivando apagado de monitor #setterm -blank 0 -powersave off -powerdown 0 < /dev/console > /dev/console 2>&1 + +#activando WOL en la interfaz usada en arranque pxe ethtool -s $DEVICE wol g 2>/dev/null # Fichero de registro de incidencias (en el servidor; si no, en local). @@ -41,13 +28,13 @@ LOGLEVEL=5 #facilitando el entorno Og desde ssh cp $OPENGNSYS/etc/preinit/loadenviron.sh /etc/profile.d/ + # Crear menú por defecto para el cliente generateMenuDefault #Matando plymount para inicir browser o shell pkill -9 plymouthd - # Arranque de OpenGnSys Client. if [ -x "$OPENGNSYS/bin/ogAdmClient" ]; then echo "$MSG_LAUNCHCLIENT" |