Subject: Re: waiting for kue(4) to become available prior to invoking dhclient
To: None <netbsd-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: netbsd-users
Date: 09/26/2006 23:17:13
On Tue, Sep 26, 2006 at 10:29:16AM -0700, Blair Sadewitz wrote:
> I'm wondering what the most elegant way is to fix this, ...

Not really.

> ... besides doing something like a loop /etc/dhclient-enter-hooks
> which checks a few times for kue0 to become available.

Implementing that loop is actually easy:

while ! /sbin/ifconfig kue0 >/dev/null 2>&1
do
	sleep 1
done

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/