Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 98420 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (+16 lines)
Line 37 Link Here
37
					COMPLETELYUP=`false`
Line 41 Link Here
42
43
			CONNECTIONTESTS=0
44
			while [ ${COMPLETELYUP} -gt 0 ] &&  [ ${CONNECTIONTESTS -lt 5 ]; do
45
				if [ -f ${VPN}/onlinecheck ]; then
46
					ping -c 3 `head -n 1 ${VPN}/onlinecheck` >& /dev/null
47
					COMPLETELYUP=$?
48
					CONNECTIONTESTS=`expr ${CONNECTIONTEST} + 1`
49
				else
50
					COMPLETELYUP=`true`
51
				fi
52
			done
53
			if [ ${COMPLETELYUP} -gt 0 ]; then
54
				ewarn "Openvpn started without problems but the host in"
55
				ewarn "${VPN}/onlinecheck is unavailable."
56
			fi

Return to bug 98420