Skip to content

Commit

Permalink
clean up saverestore pathing using module list
Browse files Browse the repository at this point in the history
  • Loading branch information
keenanlang committed Sep 25, 2023
1 parent fa13ded commit ea00208
Showing 1 changed file with 3 additions and 34 deletions.
37 changes: 3 additions & 34 deletions iocBoot/iocxxx/common.iocsh
Original file line number Diff line number Diff line change
Expand Up @@ -8,40 +8,9 @@ iocshLoad("$(AUTOSAVE)/iocsh/autosaveBuild.iocsh", "PREFIX=$(PREFIX), BUILD_
#set_pass1_restoreFile("octupole_settings.sav")

###
# specify directories in which to search for included request files
#- Note that the vxWorks variables (e.g., 'startup') are from cdCommands
set_requestfile_path("$(ADCORE)/db")
set_requestfile_path("$(AUTOSAVE)/db")
set_requestfile_path("$(BUSY)/db")
set_requestfile_path("$(CALC)/db")
set_requestfile_path("$(CAMAC)/db")
set_requestfile_path("$(CAPUTRECORDER)/db")
set_requestfile_path("$(DAC128V)/db")
set_requestfile_path("$(DELAYGEN)/db")
set_requestfile_path("$(DXP)/db")
set_requestfile_path("$(DXPSITORO)/db")
set_requestfile_path("$(GALIL)/db")
set_requestfile_path("$(IP)/db")
set_requestfile_path("$(IP330)/db")
set_requestfile_path("$(IPUNIDIG)/db")
set_requestfile_path("$(LABJACK)/db")
set_requestfile_path("$(LOVE)/db")
set_requestfile_path("$(LUA)/db")
set_requestfile_path("$(MCA)/db")
set_requestfile_path("$(MEASCOMP)/db")
set_requestfile_path("$(MODBUS)/db")
set_requestfile_path("$(MOTOR)/db")
set_requestfile_path("$(OPTICS)/db")
set_requestfile_path("$(QUADEM)/db")
set_requestfile_path("$(SCALER)/db")
set_requestfile_path("$(SSCAN)/db")
set_requestfile_path("$(SOFTGLUE)/db")
set_requestfile_path("$(SOFTGLUEZYNQ)/db")
set_requestfile_path("$(STD)/db")
set_requestfile_path("$(VAC)/db")
set_requestfile_path("$(VME)/db")
set_requestfile_path("$(YOKOGAWA_DAS)/db")
set_requestfile_path("$(TOP)/db")
# Setup search path for .req files. Include the db folders of every module specified in RELEASE
luaCmd("modules=require('modules'); for mod,path in pairs(modules) do set_requestfile_path(path .. '/db') end")


# Debug-output level
save_restoreSet_Debug(0)
Expand Down

0 comments on commit ea00208

Please sign in to comment.