use IOC instead of %T for ioc name because of possible long IOC names

This commit is contained in:
zimoch committed 2011-02-02 10:43:00 +00:00
1 parent 45f7289cd0
commit e01111d214
3 files changed
+8 -4

No files matched your search

+2 -1
View File
@@ -31,7 +31,8 @@ sprintf (STRINGBUFFER, "%s/sls/bin/loadAllSettings.sh", INSTBASE)
rsh (bootHost(), STRINGBUFFER, IOC, "default")
# insert record list into database
listRecords (bootInfo("/home/ioc/%T.dbl"), "RTYP DESC")
sprintf (STRINGBUFFER, "/home/ioc/%s.dbl", IOC)
listRecords (STRINGBUFFER, "RTYP DESC")
sprintf (STRINGBUFFER, "%s/sls/bin/dbl2odb.sh", INSTBASE)
rsh (bootHost(), STRINGBUFFER, IOC, bootInfo("%B"), getenv("EPICS_CA_SERVER_PORT"), "&")