Skip to content

Commit

Permalink
Fixed startup script
Browse files Browse the repository at this point in the history
  • Loading branch information
keenanlang committed Jul 20, 2018
1 parent 35c39af commit 3842e37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions iocBoot/iocxxx/softioc/xxx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,14 @@ if [ -z "$IOC_STARTUP_DIR" ]
then
# If no startup dir is specified, use the directory above the script's directory
IOC_STARTUP_DIR=`dirname $BASH_SOURCE`/..
IOC_CMD="../../bin/${EPICS_HOST_ARCH}/${IOC_BINARY} st.cmd.Linux"
else
IOC_CMD="${IOC_STARTUP_DIR}/../../bin/${EPICS_HOST_ARCH}/${IOC_BINARY} ${IOC_STARTUP_DIR}/st.cmd.Linux"
fi
#!${ECHO} ${IOC_STARTUP_DIR}

#####################################################################

IOC_CMD="${IOC_STARTUP_DIR}/../../bin/${EPICS_HOST_ARCH}/${IOC_BINARY} ${IOC_STARTUP_DIR}/st.cmd.Linux"

screenpid() {
if [ -z ${SCREEN_PID} ] ; then
${ECHO}
Expand Down

0 comments on commit 3842e37

Please sign in to comment.