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 5a60013 was
d42638a,
checked in by ramon <ramongomez@…>, 16 years ago
|
Documentación en ficheros README; reestructuración del directorio de escripts de gestión del arranque de clientes.
git-svn-id: https://opengnsys.es/svn/trunk@402 a21b9725-9963-47de-94b9-378ad31fedc9
|
-
Property mode set to
100755
|
File size:
488 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | # Scirpt de ejemplo para arancar un sistema operativo instalado. |
---|
3 | # (puede usarse como base para el programa de arranque usado por OpenGNSys Admin). |
---|
4 | |
---|
5 | PROG="$(basename $0)" |
---|
6 | if [ $# -ne 2 ]; then |
---|
7 | ogRaiseError $OG_ERR_FORMAT "Formato: $PROG ndisco nparticion" |
---|
8 | exit $? |
---|
9 | fi |
---|
10 | |
---|
11 | # Procesos previos. |
---|
12 | |
---|
13 | # Arrancar. |
---|
14 | ogEcho info "$PROG: Desmontar todos los sistemas operativos del disco." |
---|
15 | ogUnmountAll "$1" | exit $? |
---|
16 | ogEcho info "$PROG: Arrancar sistema operativo." |
---|
17 | ogBoot "$1" "$2" |
---|
18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.