Subject: Re: can't get dhclient to start during boot
To: None <netbsd-users@NetBSD.org>
From: henry nelson <netb@irm.nara.kindai.ac.jp>
List: netbsd-users
Date: 09/25/2003 09:36:48
On Tue, Sep 23, 2003 at 08:38:32AM +0100, David Laight wrote:
> On Tue, Sep 23, 2003 at 04:29:58PM +1200, Patrick Mackey wrote:
> > Hi,
> >
> > > For example, what command(s) could I use to verify how the dhclient
> > > binary was linked?
> >
> > Try:
> >
> > ldd `which dhclient`
>
> (mmm which is a csh script/builtin.....)
>
> or 'objdump -p $(command -p dhclient)'
^^^^^^^^^^^^^^^^^^^^^^
"objdump" may have been a bit of overkill this time around, but it
sure does give useful information. "objdump -p /sbin/dhclient" worked
great. I'm curious, what did you mean by "$(command -p dhclient)"? Is
that literal (for what shell?) or do I need to substitute "command" with
something (what exactly?)? Thanks.
henry