FreeBSD Bugzilla – Attachment 149990 Details for
Bug 195502
Support IPv6 addresses in /etc/rc.d/netwait
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
IPv6 support for rc.d/netwait
netwait.patch (text/plain), 510 bytes, created by
Dmitry Sivachenko
on 2014-11-29 15:56:59 UTC
(
hide
)
Description:
IPv6 support for rc.d/netwait
Filename:
MIME Type:
Creator:
Dmitry Sivachenko
Created:
2014-11-29 15:56:59 UTC
Size:
510 bytes
patch
obsolete
>--- /etc/rc.d/netwait 2014-09-12 01:03:57.000000000 +0400 >+++ /tmp/netwait 2014-11-29 18:50:36.000000000 +0300 >@@ -70,9 +70,16 @@ > for ip in ${netwait_ip}; do > echo -n "Waiting for ${ip} to respond to ICMP" > >+ case "$ip" in >+ *:*) >+ PING="/sbin/ping6 -c 1 -o" >+ ;; >+ *) >+ PING="/sbin/ping -t 1 -c 1 -o" >+ esac > count=1 > while [ ${count} -le ${netwait_timeout} ]; do >- /sbin/ping -t 1 -c 1 -o ${ip} >/dev/null 2>&1 >+ $PING ${ip} >/dev/null 2>&1 > rc=$? > > if [ $rc -eq 0 ]; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 195502
: 149990 |
159879