Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2011 06:42:43 +0000
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r223311 - head/etc/rc.d
Message-ID:  <522D7BA6-2B39-4BE7-B398-9357257E84EC@lists.zabbadoz.net>
In-Reply-To: <201106192259.p5JMxsBS013080@svn.freebsd.org>
References:  <201106192259.p5JMxsBS013080@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 19, 2011, at 10:59 PM, Doug Barton wrote:

> Author: dougb
> Date: Sun Jun 19 22:59:54 2011
> New Revision: 223311
> URL: http://svn.freebsd.org/changeset/base/223311
> 
> Log:
>  Blah, forgot to svn add the actual script from r223310
> 

Now that it is generic, what about IPv6?

> ...
> +
> +	for ip in ${netwait_ip}; do
> +		echo -n "Waiting for ${ip} to respond to ICMP"
> +
> +		count=1
> +		while [ ${count} -le ${netwait_timeout} ]; do
> +			/sbin/ping -t 1 -c 1 -o ${ip} >/dev/null 2>&1
> +			rc=$?
-- 
Bjoern A. Zeeb                                 You have to have visions!
         Stop bit received. Insert coin for new address family.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?522D7BA6-2B39-4BE7-B398-9357257E84EC>