Commit 7a8322b4 authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by operator for beamline

start_eiger_gui: initialise shared memory segments if not present

parent 129d4450
......@@ -33,6 +33,11 @@ if [ -z "${EIGER_CONFIG}" ]; then
fi
config="${EIGER_CONFIG}"
if ! ipcs -m | grep -q '0x000016[0-9]\+'; then
sls_detector_put $(grep ^hostname ${config})
sls_detector_put $(grep ^rx_hostname ${config}) > /dev/null 2>&1
fi
echo ${EIGER_DIR} | grep -q 'v2.0.4' && recv_mode=1 || recv_mode=0
idx=0
recv_started=0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment