source: client/shared/scripts/updateBootCache @ 3798b0f

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 3798b0f was 841ce50, checked in by adv <adv@…>, 14 years ago

version 1.0.2 boot-tools #404 #420 id.version instalador

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

  • Property mode set to 100755
File size: 669 bytes
RevLine 
[85c477c]1#!/bin/bash
[841ce50]2
3#/**
4#         updateBootCache
5#@brief   acelerador arranque pxe. incorpora a la cache el initrd y el kernel.
6#@param 1
7#@param ejemplo: 
8#@return 
9#@exception OG_ERR_FORMAT     formato incorrecto.
10#@note   
11#@todo:
12#@version 1.0.1 - requiere el gestor de arranque grub2dos
13#@author  Antonio J. Doblas Viso. Universidad de Malaga.
14#@date    2010/07/27
15#*/ ##
16
17
18
19OGBTFTP="/opt/oglive/tftpboot/ogclient/"
[85c477c]20ogMountCache || exit 1
21echo $OGCAC
22[ -d $OGCAC/boot ] || mkdir -p $OGCAC/boot
23[ -f ${OGCAC}/boot/ogvmlinuz ] || cp ${OGBTFTP}ogvmlinuz ${OGCAC}/boot/ogvmlinuz
24[ -f ${OGCAC}/boot/oginitrd.img ] || cp ${OGBTFTP}oginitrd.img ${OGCAC}/boot/oginitrd.img
Note: See TracBrowser for help on using the repository browser.