source: CONFIG/UNIFORM/v6/LMDZREPR_v6/GENERAL/DRIVER/reprobus.driver @ 5608

Last change on this file since 5608 was 5608, checked in by falletti, 3 years ago

New configuration LMDZREPR_v6

File size: 892 bytes
Line 
1#!/bin/ksh
2##-----------------------------------------------------------------
3function CHM_Initialize
4{
5    IGCM_debug_PushStack "CHM_Initialize"
6
7    IGCM_debug_PopStack "CHM_Initialize"
8}
9
10##-----------------------------------------------------------------
11function CHM_Update
12{
13    IGCM_debug_PushStack "CHM_Update"
14
15    # Add include of REPROBUS context in iodef.xml
16    # In iodef.xml add on next line after "COMPONENT CONTEXT"
17    #  <context id="reprobus" src="./context_reprobus.xml"/>
18    echo '<context id="reprobus" src="./context_reprobus.xml"/>' > add.tmp
19    cp iodef.xml iodef.xml.tmp
20    sed -e "/COMPONENT CONTEXT/r add.tmp" \
21        iodef.xml.tmp > iodef.xml
22    rm iodef.xml.tmp add.tmp
23
24    IGCM_debug_PopStack "CHM_Update"
25}
26
27#-----------------------------------
28function CHM_Finalize
29{
30    IGCM_debug_PushStack "CHM_Finalize"
31
32    IGCM_debug_PopStack "CHM_Finalize"
33}
Note: See TracBrowser for help on using the repository browser.