umts can be enabled on more than a sliver
[planetlab-umts-tools.git] / backend / umts_backend
index 29f7a53..2a4960a 100755 (executable)
@@ -72,8 +72,10 @@ case "$command" in
        ;;
  
     status)
        ;;
  
     status)
-       if  status_umts; then
-               echo "Connected"
+       if  status_umts $sliver; then
+               if check_who_locked $sliver; then
+                       echo "Connected"
+               fi
        else 
                echo "Disconnected"
        fi
        else 
                echo "Disconnected"
        fi