#!../../bin/linux-x86/Test

## You may have to change Test to something else
## everywhere it appears in this file

< envPaths

# IOCs can load settings which are common
# for all IOCs. Such as EPICS_CA_ADDR_LIST, etc...
# The file: pre_st.cmd does the trick
# </afs/slac/g/lcls/build/epics/iocCommon/All/pre_st.cmd


cd ${TOP}

## Register all support components
dbLoadDatabase("dbd/Test.dbd")
Test_registerRecordDeviceDriver(pdbbase)

## Load record instances

#dbLoadTemplate("db/watcherTestPVs.template")
#dbLoadTemplate("db/watcher.template")
#dbLoadTemplate("db/alrmCounter.template")


cd ${TOP}/iocBoot/${IOC}
iocInit()

## Start any sequence programs
#seq sncExample,"user=jrockHost"
#seq &countAlarms
seq &countAlarms,"area=LI00,subsys=MGNT"


## Now we need to do a favor for the IRMIS crawler
## All IOCs should dump some common info after initial
## startup.
## The file: post_st.cmd does the trick
#</afs/slac/g/lcls/build/epics/iocCommon/All/post_st.cmd
