From 743fb536415fb22ee9ba3b5a9027b59a81ad9f3b Mon Sep 17 00:00:00 2001
From: Keenan Lang <klang@aps.anl.gov>
Date: Thu, 14 Jul 2016 11:18:48 -0500
Subject: [PATCH] Change save/restore to automatically find autosave folder.

---
 iocBoot/iocxxx/common/save_restore.cmd | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/iocBoot/iocxxx/common/save_restore.cmd b/iocBoot/iocxxx/common/save_restore.cmd
index 080a938..e0b2336 100644
--- a/iocBoot/iocxxx/common/save_restore.cmd
+++ b/iocBoot/iocxxx/common/save_restore.cmd
@@ -11,11 +11,11 @@
 # path as mounted by that file
 
 # That is, do this...
-#set_savefile_path(startup, "autosave")
+set_savefile_path("$(STARTUP)", "autosave")
 
 # ... or this...
-save_restoreSet_NFSHost("oxygen", "164.54.22.10")
-set_savefile_path("/export/oxygen4/MOONEY/epics/synApps/support/xxx/iocBoot/iocvxWorks", "autosave")
+#save_restoreSet_NFSHost("oxygen", "164.54.22.10")
+#set_savefile_path("/export/oxygen4/MOONEY/epics/synApps/support/xxx/iocBoot/iocvxWorks", "autosave")
 
 # status PVs: default is to use them
 #save_restoreSet_UseStatusPVs(1)
-- 
GitLab