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 c1e00e4 was
2338c95f,
checked in by ramon <ramongomez@…>, 14 years ago
|
Rama version1.0:
- Redistribución de directorios para el cliente.
- Modificación del instalador para adaptarse a la nueva estructura de directorios.
- Desinstalador quita los recursos de OpenGnSys en Samba.
- Documentación actualizada para la nueva versión.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@1526 a21b9725-9963-47de-94b9-378ad31fedc9
|
-
Property mode set to
100755
|
File size:
802 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | echo -ne "og\nog\n" | passwd root |
---|
4 | |
---|
5 | /etc/init.d/ssh restart |
---|
6 | #setterm -blank 0 -powersave off -powerdown 0 < /dev/console > /dev/console 2>&1 |
---|
7 | |
---|
8 | ethtool -s $DEVICE wol g |
---|
9 | |
---|
10 | # Fichero de registro de incidencias (en el servidor; si no, en local). |
---|
11 | OPENGNSYS=${OPENGNSYS:-/opt/opengnsys} |
---|
12 | OGLOGFILE=${OGLOGFILE:-$OPENGNSYS/log/${ogGetIpAdderss},log} |
---|
13 | if ! touch $OGLOGFILE 2>/dev/null; then |
---|
14 | OGLOGFILE=/var/log/opengnsys.log |
---|
15 | fi |
---|
16 | |
---|
17 | |
---|
18 | |
---|
19 | |
---|
20 | if [ $ogactiveadmin == "true" ] |
---|
21 | then |
---|
22 | export boot=admin |
---|
23 | fi |
---|
24 | |
---|
25 | |
---|
26 | # Arranque de OpenGnSys Client. |
---|
27 | if [ -x "$OPENGNSYS/bin/ogAdmClient" ]; then |
---|
28 | echo "$MSG_LAUNCHCLIENT" |
---|
29 | $OPENGNSYS/bin/ogAdmClient -f $OPENGNSYS/etc/ogAdmClient.cfg -l $OGLOGFILE -d 5 |
---|
30 | fi |
---|
31 | |
---|
32 | # Si fallo en cliente y modo "admin", cargar shell; si no, salir. |
---|
33 | if [ "$boot" == "admin" ]; then |
---|
34 | bash |
---|
35 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.