Commit 82c20c6a authored by Luhan Wang's avatar Luhan Wang

aa

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