ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/BOSS/Examples/test.sh
Revision: 1.7
Committed: Wed May 10 13:02:40 2006 UTC (19 years ago) by gcodispo
Content type: application/x-sh
Branch: MAIN
CVS Tags: BOSS_4_1_7, BOSS_4_1_6, BOSS_4_1_5, BOSS_4_1_4, BOSS_4_1_3, BOSS_4_1_2, BOSS_4_1_1, BOSS_4_1_0, BOSS_4_0_11, BOSS_4_0_10, BOSS_4_0_9, BOSS_4_0_8, BOSS_4_0_7
Changes since 1.6: +6 -6 lines
Log Message:
moved from BOSSDIR to BOSS_ROOT

File Contents

# User Rev Content
1 elmer 1.1 #!/bin/sh
2 gcodispo 1.3 #
3 gcodispo 1.7 if [ -z $BOSS_ROOT ]; then
4 gcodispo 1.3 echo
5     echo "BOSS env not set"
6     echo "please run bossenv.[c]sh"
7     echo
8     exit
9     fi
10     #
11     # configure L&B database
12 gcodispo 1.7 cd $BOSS_ROOT
13 gcodispo 1.6 bossConfigFiles
14 elmer 1.1 bossAdmin configureDB
15 gcodispo 1.3 #
16     # register test program
17 gcodispo 1.7 cd $BOSS_ROOT/Examples
18 elmer 1.1 ./registerTestProgram
19 gcodispo 1.3 #
20     # register fork scheduler
21 gcodispo 1.7 cd $BOSS_ROOT/BossSched/bin
22 elmer 1.1 ./registerForkScheduler
23 gcodispo 1.3 #
24     # register mysql RTMon
25     if [ -f "$HOME/.bossrc/MySQLRTConfig.clad" ]; then
26     echo "Found previous MySQL RT configuration"
27     echo "Do you want to overwrite it? y/n? "
28     read ANSW
29     echo
30     if [ "$ANSW" = "y" ]; then
31 gcodispo 1.7 cd $BOSS_ROOT/BossRTMon/
32 gcodispo 1.6 bossRTConfigFiles
33 gcodispo 1.4 else
34 gcodispo 1.7 cd $BOSS_ROOT/BossRTMon/bin
35 gcodispo 1.4 FILESSTRING="-updatorPath bossrtupdatorMySQL -clientPath bossrtclientMySQL -configPath ${HOME}/.bossrc/MySQLRTConfig.clad"
36     echo "bossAdmin registerRTMon -name mysql $FILESSTRING -default"
37     bossAdmin registerRTMon -name mysql $FILESSTRING -default
38 gcodispo 1.3 fi
39     fi
40     #
41 gcodispo 1.5 #
42