Use the SICS* environment variables to locate configuration files and scripts.

r1104 | ffr | 2006-09-04 15:13:34 +1000 (Mon, 04 Sep 2006) | 2 lines
This commit is contained in:
Ferdi Franceschini
2006-09-04 15:13:34 +10:00
committed by Douglas Clowes
parent b95d1d8da7
commit 6e8501e19a
3 changed files with 23 additions and 19 deletions

View File

@@ -1,11 +1,12 @@
# $Revision: 1.14 $
# $Date: 2006-09-01 06:14:44 $
# $Revision: 1.15 $
# $Date: 2006-09-04 05:13:34 $
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
# Last revision by: $Author: ffr $
#START SERVER CONFIGURATION SECTION
source common/dmc2280_util.tcl
source server_config.tcl
set common $env(SICSCOMMON)
source $common/dmc2280_util.tcl
source $common/server_config.tcl
#END SERVER CONFIGURATION SECTION
########################################
@@ -628,4 +629,4 @@ ss2vo readscript ss2readvertoffset
MakeCounter simCtr SIM -1.0
MakeScanCommand xxxscan simCtr hrpd.hdd recover.bin
source hipadaba_hrpd_configuration.tcl
source $env(SICSERVERHOME)/hipadaba_hrpd_configuration.tcl

View File

@@ -1,20 +1,21 @@
# SICS common configuration
# $Revision: 1.1 $
# $Date: 2006-08-25 02:44:09 $
# $Revision: 1.2 $
# $Date: 2006-09-04 05:12:53 $
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
# Last revision by $Author: ffr $
installprotocolhandler
source utility.tcl
set common $env(SICSCOMMON)
source $common/utility.tcl
set sicshome "/usr/local/sics"
ServerOption statusfile $sicshome/log/status.tcl
ServerOption RedirectFile $sicshome/log/stdout
ServerOption LogFileBaseName $sicshome/log/serverlog
ServerOption LogFileDir $sicshome/log
set sicsroot $env(SICSROOT)
ServerOption statusfile $sicsroot/log/status.tcl
ServerOption RedirectFile $sicsroot/log/stdout
ServerOption LogFileBaseName $sicsroot/log/serverlog
ServerOption LogFileDir $sicsroot/log
ServerOption QuieckPort 60004
ServerOption ServerPort 60003
ServerOption InterruptPort 60002
@@ -26,9 +27,9 @@ ServerOption ReadTimeOut 10
SicsUser manager ansto 1
SicsUser user sydney 2
SicsUser spy 007 3
MakeDataNumber SicsDataNumber $sicshome/data/DataNumber
MakeDataNumber SicsDataNumber $sicsroot/data/DataNumber
VarMake SicsDataPath Text Internal
SicsDataPath $sicshome/data/
SicsDataPath $sicsroot/data/
SicsDataPath lock
VarMake SicsDataPrefix Text Internal
SicsDataPrefix ansto

View File

@@ -1,13 +1,15 @@
#!/usr/bin/env tclsh
# $Revision: 1.3 $
# $Date: 2006-09-01 04:52:09 $
# $Revision: 1.4 $
# $Date: 2006-09-04 05:12:53 $
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
# Last revision by $Author: ffr $
# Load troubleshooting setup
source common/dmc2280_util.tcl
source troubleshoot_setup.tcl
set common $env(SICSCOMMON)
set serverhome $env(SICSERVERHOME)
source $common/dmc2280_util.tcl
source $serverhome/troubleshoot_setup.tcl
if { $argc > 0 } {
set configFileName [lindex $argv 0]