summary refs log tree commit diff
path: root/contrib/rvnit/sv/45Snetup
blob: 02082f4a02db0763042aa4d2ed17650485caa4c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

exec 2>&1

count=10
while ! ping -c1 8.8.8.8; do
	sleep 1
	count=$((count-1))
	if [ $count -eq 0 ]; then
		exit 1
	fi
done

exit 0