Re: Strange behaviour from 0.5.1 and 2006-02-21 cvs
- From: Dan Williams <dcbw redhat com>
- To: Ian Campbell <ian dal-acm ca>
- Cc: networkmanager-list gnome org
- Subject: Re: Strange behaviour from 0.5.1 and 2006-02-21 cvs
- Date: Thu, 02 Mar 2006 10:00:16 -0500
On Thu, 2006-03-02 at 10:59 -0400, Ian Campbell wrote:
> > Does your dhclient-script have the correct magic to forward DHCP
> > information back to dhcdbd?
> >
> > if [ -n "${dhc_dbus}" ]; then
> > /bin/dbus-send \
> > --system \
> > --dest=com.redhat.dhcp \
> > --type=method_call \
> > /com/redhat/dhcp/$interface \
> > com.redhat.dhcp.set \
> > 'string:'"`env | /bin/egrep -v '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`";
> > if (( ( dhc_dbus & 31 ) == 31 )); then
> > exit 0;
> > fi;
> > fi;
>
> Doesn't seem to. Whereabouts would that go? The dhclient-script is kind of
> large.
Right at the top. Make it the first stuff executed for the script,
though it can be below the comments.
You'll also need to make your dhclient -x aware, and tell dhcdbd to pass
-x to dhclient.
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]