Commit 471efb41 authored by guptar's avatar guptar

fixed a bug in bash script

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7829 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent a237f856
...@@ -199,7 +199,7 @@ function main() ...@@ -199,7 +199,7 @@ function main()
# ue1 -> enb # ue1 -> enb
$OPENAIR_DIR/targets/bin/rb_tool -a -c0 -i1 -z0 -s 10.0.2.2 -t 10.0.2.1 -r 1 $OPENAIR_DIR/targets/bin/rb_tool -a -c0 -i1 -z0 -s 10.0.2.2 -t 10.0.2.1 -r 1
if [ abstraction_flag -eq 0 ] ; then if [ "$abstraction_flag" -eq "0" ] ; then
exe_arguments="$exe_arguments -s15 -AAWGN -b1 -u1" exe_arguments="$exe_arguments -s15 -AAWGN -b1 -u1"
else else
exe_arguments="$exe_arguments -b1 -u1" exe_arguments="$exe_arguments -b1 -u1"
...@@ -211,7 +211,7 @@ function main() ...@@ -211,7 +211,7 @@ function main()
if [ $run_mscgen -eq 1 ]; then if [ $run_mscgen -eq 1 ]; then
$SUDO rm -f /tmp/openair.msc.* $SUDO rm -f /tmp/openair.msc.*
fi fi
if [ $run_gdb -eq 0 ]; then if [ $run_gdb -eq 0 ]; then
exec $SUDO $OPENAIR_DIR/targets/bin/oaisim_nos1.Rel10 $exe_arguments | tee /tmp/enb_ue_nos1.log.txt exec $SUDO $OPENAIR_DIR/targets/bin/oaisim_nos1.Rel10 $exe_arguments | tee /tmp/enb_ue_nos1.log.txt
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment