Created attachment 149990 [details]
IPv6 support for rc.d/netwait
Currently /etc/rc.d/netwait supports only IPv4 addresses.
The proposed patch adds support for IPv6 addresses, so this script can be used in
Created attachment 159879 [details]
New patch against 10.2-RELEASE
Adds -X option to ping6.
I've attached a slightly updated patch. However, in practice I don't think either patch is fully correct--if the IPv6 address isn't available to due SLAAC taking a while in my case, then the timeout isn't respected. This is because it loops through all the $netwait_timeout count in a second or so--ping6 isn't waiting one second before terminating. However using -X 1 on the command-line shows this is working as documented if I try with an invalid IPv6 address, but maybe the behaviour is different if there's no global IPv6 address as during boot.
what can we do to bring this back on the agenda? Is the pach as provided by Roger OK or can we help?
(In reply to punkt.de Hosting Team from comment #3)
I will take a look into this.