Commit b671c311 authored by Luhan Wang's avatar Luhan Wang

aa

parent f39831de
...@@ -7,7 +7,7 @@ echo "started gNB" ...@@ -7,7 +7,7 @@ echo "started gNB"
sleep 1 sleep 1
sudo docker exec -ti -d openxg-ueransim /UERANSIM/build/nr-ue -c /etc/openxg/ue.yaml sudo docker exec -ti -d openxg-ueransim /UERANSIM/build/nr-ue -c /etc/openxg/ue.yaml
echo "started UE" echo "started UE"
sleep 5 sleep 10
line=`sudo docker exec -ti openxg-ueransim ping www.baidu.com -c 1 -s 1 -W 1 -I uesimtun0| grep "0% packet loss" | wc -l` line=`sudo docker exec -ti openxg-ueransim ping www.baidu.com -c 1 -s 1 -W 1 -I uesimtun0| grep "0% packet loss" | wc -l`
if [ $line == "1" ];then if [ $line == "1" ];then
echo "successfully ping" echo "successfully ping"
......
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