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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user