Skip to content
Snippets Groups Projects
Commit d5184e89 authored by klang's avatar klang
Browse files

Changed startup scripts to account for different directory

parent 31f74ff3
No related branches found
No related tags found
No related merge requests found
...@@ -11,5 +11,5 @@ if [ "" != "${IOC_PID}" ] ; then ...@@ -11,5 +11,5 @@ if [ "" != "${IOC_PID}" ] ; then
fi fi
# start the IOC # start the IOC
cd ..
../../bin/${EPICS_HOST_ARCH}/xxx st.cmd ../../bin/${EPICS_HOST_ARCH}/xxx st.cmd.Linux
...@@ -46,13 +46,13 @@ SELECTION=$1 ...@@ -46,13 +46,13 @@ SELECTION=$1
if [ -z "$IOC_STARTUP_DIR" ] if [ -z "$IOC_STARTUP_DIR" ]
then then
# If no startup dir is specified, assume this script resides in the IOC's startup directory # 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 fi
#!${ECHO} ${IOC_STARTUP_DIR} #!${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() { screenpid() {
if [ -z ${SCREEN_PID} ] ; then if [ -z ${SCREEN_PID} ] ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment