#==============================================================
#
#  Abs:  Klystron Test Lab (b44) generic IOC startup script 
#
#  Name: st.alhGenericKTL.cmd
#
#  Side: Upon entry to this script expects to be
#        in the iocBoot/<ioc> directory.
#
#        All macros used within this script
#        are set from the file iocBoot/<ioc>/envPaths
#
#  Facility: Klystron Test Lab Alarm Controls 
#
#  Auth: 30-Sep-2016, K. Luchini      (luchini)
#  Rev:  dd-mmm-yyyy, Reviewer's Name (USERNAME)
#--------------------------------------------------------------
#  Mod:
#        17-Aug-2017, K. Luchini      (LUCHINI):
#          remove EPICS_CA_PUT_LOG_ADDR, in pre startup script
#
#==============================================================
#
# Set enviroment variables
< envPaths

# for iocAdmin
epicsEnvSet("LOCATION","testfac-daemon1")

# for ALH subsystem file st.cmd.db
epicsEnvSet("SUBSYSVER"   ,"prod-ktl/ktl")
epicsEnvSet("KTL_MISCTOP" ,"${ALARM_CONFIGS_TOP}/misc/${SUBSYSVER}")
epicsEnvSet("KTL_PPSTOP"  ,"${ALARM_CONFIGS_TOP}/pps/${SUBSYSVER}")
epicsEnvSet("KTL_NTWKTOP" ,"${ALARM_CONFIGS_TOP}/ntwk/${SUBSYSVER}")

# Load common startup
< ../common/st.cmd

# End of file


