12 lines
284 B
Bash
12 lines
284 B
Bash
#!/bin/bash
|
|
export EPICS_BASE=/usr/local/epics/base-7.0.7
|
|
export EPICS_HOST_ARCH=RHEL8-x86_64
|
|
|
|
# Get the full directory path of the script
|
|
SCRIPT_DIR=$(dirname "$(realpath "$0")")
|
|
|
|
# Needed so st.cmd finds other .cmd files
|
|
cd "$SCRIPT_DIR" || exit 1
|
|
|
|
# Run the IOC shell script
|
|
st.cmd |