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

This commit is contained in:
zimoch
2011-02-02 10:43:00 +00:00
parent 45f7289cd0
commit e01111d214
3 changed files with 8 additions and 4 deletions
+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"), "&")