This file is indexed.

/usr/lib/salome/bin/runSalome is in salome-kernel 6.5.0-7ubuntu2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/bin/bash

export prefix=/usr
export KERNEL_ROOT_DIR=/usr
export GUI_ROOT_DIR=/usr
export PARAVIS_ROOT_DIR=/usr
export GEOM_ROOT_DIR=/usr
export MED_ROOT_DIR=/usr
export VISU_ROOT_DIR=/usr
export SMESH_ROOT_DIR=/usr
export NETGENPLUGIN_ROOT_DIR=/usr
export YACS_ROOT_DIR=/usr
export MULTIPR_ROOT_DIR=/usr
export COMPONENT_ROOT_DIR=/usr
export RANDOMIZER_ROOT_DIR=/usr
export SIERPINSKY_ROOT_DIR=/usr
export CALCULATOR_ROOT_DIR=/usr
export PYCALCULATOR_ROOT_DIR=/usr

export DISABLE_FPE=1

# This is a major kludge!  But it's necessary for Salome to open with .py files
# in the right place...
export bindir=${prefix}/lib/salome/bin
export libdir=${prefix}/lib/salome/lib
export PATH=$PATH:${bindir}
export LD_LIBRARY_PATH=${prefix}/lib:${libdir}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
#export CASROOT=/usr
#export CSF_UnitsLexicon=${CASROOT}/share/opencascade/6.3.0/src/UnitsAPI/Lexi_Expr.dat
#export CSF_UnitsDefinition=${CASROOT}/share/opencascade/6.3.0/src/UnitsAPI/Units.dat
export SALOME_PYTHON_DIR=${prefix}/lib/salome/python/salome
export PYTHONPATH=$PYTHONPATH:${prefix}/lib/python2.7/dist-packages/omniORB:${SALOME_PYTHON_DIR}:${bindir}

if [ $# -ne 0 ] ; then
    python ${bindir}/envSalome.py python -i -m runSalome "$@"
else
    python -m runSalome
fi

# -----------------------------------------------------------------------------
# examples:
# ---------
#  $: ${KERNEL_ROOT_DIR}/bin/salome/runSalome
#
#     - parameters for launching are taken from SalomeApp.xml;
#     - if the config file does not exist, it is created with default values.
#
#  
#  $: ${KERNEL_ROOT_DIR}/bin/salome/runSalome --modules=GEOM,SMESH,VISU,SUPERV,MED --embedded=registry,study,moduleCatalog,cppContainer --standalone=pyContainer,supervContainer --xterm --killall
#
#     parameters from command line supersede those from SalomeApp.xml
#
# Some CORBA servers can be launched in the SALOME_Session_Server's process
# (embedded = same process) or in a separate process (standalone):
# --> registry,study,moduleCatalog,cppContainer
# Other CORBA servers could only be launched in separate process (standalone):
# --> pyContainer,supervContainer
#
# $: ${KERNEL_ROOT_DIR}/bin/salome/runSalome -h
#    help
# -----------------------------------------------------------------------------
#
# l'option -i permet de garder l'interpreteur python ouvert :
# par defaut, les differents serveurs ouvrent des fenĂȘtres xterm
# (cf. runSalome.py)
# le serveur Logger n'est pas obligatoire (commenté dans runSalome.py)
# 
# -----------------------------------------------------------------------------