#! /bin/sh

LD_LIBRARY_PATH=.
export LD_LIBRARY_PATH

if [ $# -ne 0 ]
then
    $ROOT/usr/sbin/gload -a "$*" rom
else
    $ROOT/usr/sbin/gload -b $ROOT/usr/lib/PR/Boot -h $ROOT/usr/lib/PR/romheader rom
fi

trap "killall stressui; exit" 1 2 3 15

#echo start stressui

# stressui dso
cd Ui
stressui ../stresstcl.so

exit 0
