3 # --- retrieve APPLI path, relative to $HOME, set ${APPLI}
5 . `dirname $0`/setAppliPath.sh
7 # --- set the SALOME environment (prerequisites, MODULES_ROOT_DIR...)
9 . ${HOME}/${APPLI}/envd ${HOME}/${APPLI}
11 # --- find omniORB configuration relative to current session if any
14 fileOmniConfig=${HOME}/${APPLI}/.omniORB_${myhost}_last.cfg
16 if [ -f $fileOmniConfig ]; then
17 OMNIORB_CONFIG=${HOME}/${APPLI}/.omniORB_${myhost}_last.cfg
21 currentPort=`${KERNEL_ROOT_DIR}/bin/salome/NSparam.py port`
24 # --- kill current salome session
26 ${KERNEL_ROOT_DIR}/bin/salome/killSalomeWithPort.py $currentPort
28 # --- delete config files
30 if [ -s $fileOmniConfig ]; then
31 refConfig=`ls -l $fileOmniConfig | awk '{print \$NF}'`
32 if [ -f $refConfig ]; then