4 TRINITY_PATH
=${TRINITY_PATH:-$OLDPATH}
7 TRINITY_TMP
=$
(mktemp
-d $
(pwd)/tmp
/trinity.XXXXXX
)
9 TRINITY_TMP
=$
(mktemp
-d /tmp
/trinity.XXXXXX
)
12 if [ $
(/usr
/bin
/id
-u) -eq 0 ] ; then
20 if [ "$(cat /proc/sys/kernel/tainted)" != $TAINT ]; then
21 echo ERROR
: Taint flag changed $
(cat /proc
/sys
/kernel
/tainted
)
26 chmod 755 $TRINITY_TMP
29 TAINT
=$
(cat /proc
/sys
/kernel
/tainted
)
31 NR_CPUS
=`grep ^processor /proc/cpuinfo | /usr/bin/wc -l`
32 NR_PROCESSES
=$
(($NR_CPUS * 2))
37 cp $TRINITY_PATH/trinity .
40 chmod 755 $TRINITY_TMP
48 rm -f trinity.socketcache
50 MALLOC_CHECK_
=2 ..
/trinity
-q -l off
-C $NR_PROCESSES $DROPPRIVS