#! /bin/sh # # Script to start the MX Channel Access Server # # Give the MX server a little while to start up. sleep 10 MXDIR=/opt/mx export MXDIR /bin/su mx -c "touch ${MXDIR}/log/mxca_server.log" ( /bin/su mx -c "LD_PRELOAD=${MXDIR}/lib/libMx.so.1 ${MXDIR}/sbin/mxca_server ${MXDIR}/etc/mxca_server.dat ${MXDIR}/etc/mxca_server.acl < /dev/null >> ${MXDIR}/log/mxca_server.log 2>&1" & )