Epics@GSI Webhome

rc script: (re)start hadcon at reboot - EPICS section

%begin bash% #start EPICS IOC script in background #P.Zumbruch, GSI, 28-05-2009

myHostname=$(hostname) #mylist='etrax046 etrax047 etrax048' mylist='etrax047 etrax048' startBackgroundEpicsIOCScript=/home/hadaq/startBackgroundEpicsIOC.sh for item in $mylist do if [ "$item" = "$myHostname" ] then [ ! -f ${startBackgroundEpicsIOCScript} ] && break;

export HOSTNAME=${HOSTNAME:=${myHostname}} ${startBackgroundEpicsIOCScript}

break; fi done %end%


-- PeterZumbruch - 13 Jan 2010
Topic revision: r1 - 2010-01-13, PeterZumbruch - This page was cached on 2024-04-19 - 11:31.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Legal notice | Privacy Policy (german)