From d5184e890eeb5e310b6c9dfeb54ef1604d6fccad Mon Sep 17 00:00:00 2001 From: Keenan Lang <klang@aps.anl.gov> Date: Mon, 15 Aug 2016 15:10:35 -0500 Subject: [PATCH] Changed startup scripts to account for different directory --- iocBoot/iocxxx/softioc/run | 4 ++-- iocBoot/iocxxx/softioc/xxx.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iocBoot/iocxxx/softioc/run b/iocBoot/iocxxx/softioc/run index 742ba96..221d55f 100755 --- a/iocBoot/iocxxx/softioc/run +++ b/iocBoot/iocxxx/softioc/run @@ -11,5 +11,5 @@ if [ "" != "${IOC_PID}" ] ; then fi # start the IOC - -../../bin/${EPICS_HOST_ARCH}/xxx st.cmd +cd .. +../../bin/${EPICS_HOST_ARCH}/xxx st.cmd.Linux diff --git a/iocBoot/iocxxx/softioc/xxx.sh b/iocBoot/iocxxx/softioc/xxx.sh index 6d4a284..e20b4c7 100755 --- a/iocBoot/iocxxx/softioc/xxx.sh +++ b/iocBoot/iocxxx/softioc/xxx.sh @@ -46,13 +46,13 @@ SELECTION=$1 if [ -z "$IOC_STARTUP_DIR" ] then # If no startup dir is specified, assume this script resides in the IOC's startup directory - IOC_STARTUP_DIR="$(${DIRNAME} ${SNAME})" + IOC_STARTUP_DIR="../$(${DIRNAME} ${SNAME})" fi #!${ECHO} ${IOC_STARTUP_DIR} ##################################################################### -IOC_CMD="../../bin/${EPICS_HOST_ARCH}/${IOC_BINARY} st.cmd" +IOC_CMD="../../bin/${EPICS_HOST_ARCH}/${IOC_BINARY} st.cmd.Linux" screenpid() { if [ -z ${SCREEN_PID} ] ; then -- GitLab