Allow application to be copied and run anywhere. The downside of this

change is that the application *must* be executed from the directory
in which the st.cmd file resides.
This commit is contained in:
W. Eric Norum
2004-05-23 16:50:52 +00:00
parent 720f6ba418
commit b5ee956916

View File

@@ -5,17 +5,14 @@
< envPaths
cd ${TOP}
## Register all support components
dbLoadDatabase("dbd/_APPNAME_.dbd")
dbLoadDatabase("../../dbd/_APPNAME_.dbd")
_APPNAME__registerRecordDeviceDriver(pdbbase)
## Load record instances
dbLoadRecords("db/xxMedmDemo.db","user=_USER_")
dbLoadRecords("db/xxVirtualLinac.db","user=_USER_")
dbLoadRecords("../../db/xxMedmDemo.db","user=_USER_")
dbLoadRecords("../../db/xxVirtualLinac.db","user=_USER_")
cd ${TOP}/iocBoot/${IOC}
iocInit()
## Start any sequence programs