X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=umtsd;h=a97bf578c80d9172032edddecd198f357d0a80d9;hb=cf67fdf4f5da2fc96285fa4420fb7d8d689e44bb;hp=8d1dae1e35f698d5525d9ef955ae2b8cd117b0d5;hpb=8799677d58c4b97cad5ae5b31e3bb3716f366b44;p=planetlab-umts-tools.git diff --git a/umtsd b/umtsd index 8d1dae1..a97bf57 100755 --- a/umtsd +++ b/umtsd @@ -21,15 +21,6 @@ command=`echo ${line%% *}` rest=`echo ${line#* }` case "$command" in - #init) - #logger "Initialitation of the UMTS inteface requested by $sliver" - #init_umts $sliver; - # - #if [[ $? != 0 ]] ; then - # echo "Failed" - #fi - #;; - start) logger "Starting the umts connection for $sliver" start_umts $sliver; @@ -56,7 +47,7 @@ case "$command" in echo "Failed" else add_destination "$rest" $sliver; - if [[ $? != 0 ]] ; then + if [[ $? == 0 ]] ; then echo "OK" else echo "Failed" @@ -97,7 +88,7 @@ case "$command" in esac -#sleep 1 +sleep 1 echo "EOF"